From c90e28c66db7e7352495604d91c9dd7968da8fde Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Fri, 1 Oct 2021 06:19:35 +0800 Subject: [PATCH] [skip ci] Fix case test_index_without_connect (#8984) Signed-off-by: ThreadDao --- tests/python_client/testcases/test_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_client/testcases/test_index.py b/tests/python_client/testcases/test_index.py index d4e84d1924..d50c4d7914 100644 --- a/tests/python_client/testcases/test_index.py +++ b/tests/python_client/testcases/test_index.py @@ -484,7 +484,7 @@ class TestIndexBase: expected: raise exception """ with pytest.raises(Exception) as e: - dis_connect.create_index(collection, field_name, get_simple_index) + dis_connect.create_index(collection, field_name, default_index) @pytest.mark.tags(CaseLabel.L0) @pytest.mark.timeout(BUILD_TIMEOUT)