mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
commit
1e3251f974
@ -273,7 +273,8 @@ class TestConnect:
|
|||||||
milvus = Milvus()
|
milvus = Milvus()
|
||||||
uri_value = "tcp://%s:%s" % (args["ip"], args["port"])
|
uri_value = "tcp://%s:%s" % (args["ip"], args["port"])
|
||||||
with pytest.raises(Exception) as e:
|
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()
|
assert not milvus.connected()
|
||||||
|
|
||||||
def _test_add_vector_and_disconnect_concurrently(self):
|
def _test_add_vector_and_disconnect_concurrently(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user