Update test case

This commit is contained in:
zhenwu 2019-11-08 16:45:24 +08:00
parent e0ac52b299
commit 4284e3cdc9

View File

@ -273,7 +273,8 @@ class TestConnect:
milvus = Milvus()
uri_value = "tcp://%s:%s" % (args["ip"], args["port"])
with pytest.raises(Exception) as e:
milvus.connect(host=args["ip"], port=19540, uri=uri_value, timeout=1)
res = milvus.connect(host=args["ip"], port=39540, uri=uri_value, timeout=1)
logger.getLogger().info(res)
assert not milvus.connected()
def _test_add_vector_and_disconnect_concurrently(self):