diff --git a/tests/testcases/test_restore_backup.py b/tests/testcases/test_restore_backup.py index fd72839..87ed540 100644 --- a/tests/testcases/test_restore_backup.py +++ b/tests/testcases/test_restore_backup.py @@ -656,13 +656,13 @@ def test_milvus_restore_back_with_f16_bf16_datatype(self, include_dynamic, inclu @pytest.mark.parametrize("include_dynamic", [True]) @pytest.mark.parametrize("enable_text_match", [True]) @pytest.mark.tags(CaseLabel.MASTER) - def test_milvus_restore_back_with_sparse_vector_datatype(self, include_dynamic, include_partition_key): + def test_milvus_restore_back_with_sparse_vector_datatype(self, include_dynamic, include_partition_key, enable_text_match): self._connect() name_origin = cf.gen_unique_str(prefix) back_up_name = cf.gen_unique_str(backup_prefix) fields = [cf.gen_int64_field(name="int64", is_primary=True), cf.gen_int64_field(name="key"), - cf.gen_string_field(name="text", enable_match=True), + cf.gen_string_field(name="text", enable_match=enable_text_match), cf.gen_json_field(name="json"), cf.gen_array_field(name="var_array", element_type=DataType.VARCHAR), cf.gen_array_field(name="int_array", element_type=DataType.INT64),