diff --git a/tests/python_client/testcases/test_index.py b/tests/python_client/testcases/test_index.py index 6dbb5f1f46..d13a3c344f 100644 --- a/tests/python_client/testcases/test_index.py +++ b/tests/python_client/testcases/test_index.py @@ -1401,8 +1401,8 @@ class TestIndexInvalid(TestcaseBase): expected: raise exception """ collection_w = self.init_collection_general(prefix, is_index=False, is_all_data_type=True)[0] - scalar_index = ["Trie", "STL_SORT", "INVERTED"] - scalar_fields = [ct.default_string_field_name, ct.default_int16_field_name, ct.default_int32_field_name] + scalar_index = ["Trie", "STL_SORT"] + scalar_fields = [ct.default_string_field_name, ct.default_int16_field_name] for i in range(len(scalar_fields)): index_name = f"scalar_index_name_{i}" scalar_index_params = {"index_type": f"{scalar_index[i]}"} diff --git a/tests/python_client/testcases/test_insert.py b/tests/python_client/testcases/test_insert.py index 91d7766c4d..72ede8c79b 100644 --- a/tests/python_client/testcases/test_insert.py +++ b/tests/python_client/testcases/test_insert.py @@ -2091,7 +2091,7 @@ class TestUpsertInvalid(TestcaseBase): check_task=CheckTasks.err_res, check_items=error) @pytest.mark.tags(CaseLabel.L2) - @pytest.mark.xfail("insert and upsert have removed the [] error check") + @pytest.mark.skip("insert and upsert have removed the [] error check") def test_upsert_multi_partitions(self): """ target: test upsert two partitions diff --git a/tests/python_client/testcases/test_partition.py b/tests/python_client/testcases/test_partition.py index 5fd443840f..07beeaa6ea 100644 --- a/tests/python_client/testcases/test_partition.py +++ b/tests/python_client/testcases/test_partition.py @@ -369,7 +369,8 @@ class TestPartitionParams(TestcaseBase): # load with 2 replicas error = {ct.err_code: 65535, - ct.err_msg: "failed to load partitions: failed to spawn replica for collection: nodes not enough"} + ct.err_msg: "failed to spawn replica for collection: resource group node not enough" + "[rg=__default_resource_group][currentNodeNum=2][expectedNodeNum=3]"} collection_w.create_index(ct.default_float_vec_field_name, index_params=ct.default_flat_index) partition_w.load(replica_number=3, check_task=CheckTasks.err_res, check_items=error)