diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 87dd0198f2..ffc59c38ca 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -12,7 +12,7 @@ allure-pytest==2.7.0 pytest-print==0.2.1 pytest-level==0.1.1 pytest-xdist==2.5.0 -pymilvus==2.4.0.dev19 +pymilvus==2.4.0.dev23 pytest-rerunfailures==9.1.1 git+https://github.com/Projectplace/pytest-tags ndg-httpsclient diff --git a/tests/python_client/testcases/test_connection.py b/tests/python_client/testcases/test_connection.py index 47518628da..fcbefc2427 100644 --- a/tests/python_client/testcases/test_connection.py +++ b/tests/python_client/testcases/test_connection.py @@ -931,7 +931,7 @@ class TestConnectUriInvalid(TestcaseBase): check_items={ct.err_code: 2}) @pytest.mark.tags(ct.CaseLabel.L2) - @pytest.mark.parametrize("port", ["8080", "443", "0", "65536"]) + @pytest.mark.parametrize("port", ["8080", "443", "0", "65534"]) @pytest.mark.parametrize("connect_name", [DefaultConfig.DEFAULT_USING]) @pytest.mark.parametrize("protocol", ["http", "https"]) def test_parameters_with_invalid_port(self, host, port, connect_name, protocol): @@ -947,7 +947,7 @@ class TestConnectUriInvalid(TestcaseBase): @pytest.mark.tags(ct.CaseLabel.L2) @pytest.mark.parametrize("host", ["www.google.com"]) - @pytest.mark.parametrize("port", ["65535", "19530"]) + @pytest.mark.parametrize("port", ["65534", "19530"]) @pytest.mark.parametrize("connect_name", [DefaultConfig.DEFAULT_USING]) @pytest.mark.parametrize("protocol", ["http", "https"]) def test_parameters_with_invalid_url(self, host, port, connect_name, protocol): diff --git a/tests/python_client/testcases/test_insert.py b/tests/python_client/testcases/test_insert.py index 8d969e1873..1c724689a7 100644 --- a/tests/python_client/testcases/test_insert.py +++ b/tests/python_client/testcases/test_insert.py @@ -479,7 +479,7 @@ class TestInsertOperation(TestcaseBase): """ collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix)) partition_name = cf.gen_unique_str(prefix) - partition_w1 = self.init_partition_wrap(collection_w, partition_name=partition_name) + partition_w1 = self.init_partition_wrap(collection_w, partition_name) df = cf.gen_default_dataframe_data(ct.default_nb) mutation_res, _ = collection_w.insert(data=df, partition_name=partition_w1.name) assert mutation_res.insert_count == ct.default_nb @@ -992,7 +992,7 @@ class TestInsertBinary(TestcaseBase): collection_w = self.init_collection_wrap(name=c_name, schema=default_binary_schema) df, _ = cf.gen_default_binary_dataframe_data(ct.default_nb) partition_name = cf.gen_unique_str(prefix) - partition_w1 = self.init_partition_wrap(collection_w, partition_name=partition_name) + partition_w1 = self.init_partition_wrap(collection_w, partition_name) mutation_res, _ = collection_w.insert(data=df, partition_name=partition_w1.name) assert mutation_res.insert_count == ct.default_nb diff --git a/tests/python_client/testcases/test_partition.py b/tests/python_client/testcases/test_partition.py index f3bf2ad79f..f5971dcc1f 100644 --- a/tests/python_client/testcases/test_partition.py +++ b/tests/python_client/testcases/test_partition.py @@ -503,8 +503,7 @@ class TestPartitionParams(TestcaseBase): @pytest.mark.tags(CaseLabel.L1) @pytest.mark.parametrize("data", [cf.gen_default_dataframe_data(10), - cf.gen_default_list_data(10), - cf.gen_default_tuple_data(10)]) + cf.gen_default_list_data(10)]) def test_partition_insert(self, data): """ target: verify insert entities multiple times