diff --git a/tests/python_client/requirements.txt b/tests/python_client/requirements.txt index 31eea3f7f8..301cdce86d 100644 --- a/tests/python_client/requirements.txt +++ b/tests/python_client/requirements.txt @@ -9,7 +9,7 @@ allure-pytest==2.7.0 pytest-print==0.2.1 pytest-level==0.1.1 pytest-xdist==2.2.1 -pymilvus==2.1.0.dev56 +pymilvus==2.1.0.dev57 pytest-rerunfailures==9.1.1 git+https://github.com/Projectplace/pytest-tags ndg-httpsclient @@ -32,4 +32,4 @@ timeout-decorator==0.5.0 protobuf==3.17.1 # for bulk load test -minio==7.1.5 \ No newline at end of file +minio==7.1.5 diff --git a/tests/python_client/testcases/test_connection.py b/tests/python_client/testcases/test_connection.py index d92ad860a9..0bd4fc5139 100644 --- a/tests/python_client/testcases/test_connection.py +++ b/tests/python_client/testcases/test_connection.py @@ -50,7 +50,7 @@ class TestConnectionParams(TestcaseBase): self.connection_wrap.get_connection_addr(alias=DefaultConfig.DEFAULT_USING) # No check for **kwargs - self.connection_wrap.connect(alias=DefaultConfig.DEFAULT_USING, _kwargs=[1, 2], + self.connection_wrap.connect(alias=DefaultConfig.DEFAULT_USING, host=1, check_task=ct.CheckTasks.err_res, check_items={ct.err_code: 0, ct.err_msg: cem.NoHostPort})