未验证 提交 9ad359f9 编写于 作者: B binbin 提交者: GitHub

[skip ci] Improve code logs (#9347)

Signed-off-by: NBinbin Lv <binbin.lv@zilliz.com>
上级 e0737fc8
......@@ -998,11 +998,14 @@ class TestUtilityBase(TestcaseBase):
method: calculated distance with default metric
expected: distance calculated successfully
"""
log.info("Creating connection")
self._connect()
log.info("Creating vectors for distance calculation")
vectors_l = cf.gen_vectors(default_nb, default_dim)
vectors_r = cf.gen_vectors(default_nb, default_dim)
op_l = {"float_vectors": vectors_l}
op_r = {"float_vectors": vectors_r}
log.info("Calculating distance for generated vectors within default metric")
params = {"sqrt": sqrt}
self.utility_wrap.calc_distance(op_l, op_r, params,
check_task=CheckTasks.check_distance,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册