From 9c24e876d760272b5664607727e7fd5605d44d2d Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Tue, 5 Oct 2021 11:28:30 +0800 Subject: [PATCH] [skip ci] Improve test log (#9250) Signed-off-by: Binbin Lv --- tests/python_client/testcases/test_utility.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/python_client/testcases/test_utility.py b/tests/python_client/testcases/test_utility.py index 5dd3c0f259..712d8712d9 100644 --- a/tests/python_client/testcases/test_utility.py +++ b/tests/python_client/testcases/test_utility.py @@ -976,11 +976,14 @@ class TestUtilityBase(TestcaseBase): method: calculated distance with default sqrt 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 sqrt") params = {metric_field: metric} self.utility_wrap.calc_distance(op_l, op_r, params, check_task=CheckTasks.check_distance,