Esempio n. 1
0
 def test_ping_normal(self, gip):
     client = Milvus(*gip)
     assert client.ping()
Esempio n. 2
0
 def test_ping_invalid_addr(self, ip, port):
     with pytest.raises(Exception):
         client = Milvus(ip, port)
         client.ping()