diff --git a/tests/python_client/testcases/test_connect.py b/tests/python_client/testcases/test_connect.py index 5accdbc8c3..a80bcadad3 100644 --- a/tests/python_client/testcases/test_connect.py +++ b/tests/python_client/testcases/test_connect.py @@ -37,8 +37,7 @@ class TestConnect: method: disconnect a connected client, disconnect again expected: raise an error after disconnected ''' - with pytest.raises(Exception) as e: - dis_connect.close() + dis_connect.close() @pytest.mark.tags(CaseLabel.L2) def test_connect_correct_ip_port(self, args): diff --git a/tests/scripts/e2e.sh b/tests/scripts/e2e.sh index dd143a7e54..a7a43552e1 100755 --- a/tests/scripts/e2e.sh +++ b/tests/scripts/e2e.sh @@ -17,7 +17,7 @@ set -x MILVUS_HELM_RELEASE_NAME="${MILVUS_HELM_RELEASE_NAME:-milvus-testing}" MILVUS_CLUSTER_ENABLED="${MILVUS_CLUSTER_ENABLED:-false}" MILVUS_HELM_NAMESPACE="${MILVUS_HELM_NAMESPACE:-default}" -PARALLEL_NUM="${PARALLEL_NUM:-6}" +PARALLEL_NUM="${PARALLEL_NUM:-4}" MILVUS_CLIENT="${MILVUS_CLIENT:-pymilvus}" SOURCE="${BASH_SOURCE[0]}"