From 88c7f79e4da5e5a80fbaf23bc6efbfc1cd378b41 Mon Sep 17 00:00:00 2001 From: binbin <83755740+binbinlv@users.noreply.github.com> Date: Sun, 3 Oct 2021 20:48:21 +0800 Subject: [PATCH] [skip ci] Improve logs for test case (#9148) 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 e7164f8b60..5dd3c0f259 100644 --- a/tests/python_client/testcases/test_utility.py +++ b/tests/python_client/testcases/test_utility.py @@ -956,11 +956,14 @@ class TestUtilityBase(TestcaseBase): method: calculated distance between two random vectors 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") self.utility_wrap.calc_distance(op_l, op_r, check_task=CheckTasks.check_distance, check_items={"vectors_l": vectors_l,