提交 d4cb6f8f 编写于 作者: O ophunter233 提交者: yefu.chen

Add check for invalid collection name in python sdk

Signed-off-by: Nophunter233 <chengming.li@zilliz.com>
上级 0d499a9f
......@@ -2,7 +2,7 @@ grpcio==1.26.0
grpcio-tools==1.26.0
numpy==1.18.1
pytest-cov==2.8.1
pymilvus-distributed==0.0.40
pymilvus-distributed==0.0.41
sklearn==0.0
pytest==6.2.2
pytest-timeout==1.3.3
......
......@@ -65,7 +65,7 @@ class TestFlushBase:
message = getattr(e, 'message', "The exception does not contain the field of message.")
assert message == "describe collection failed: can't find collection: %s" % collection_new
@pytest.mark.tags("fail")
@pytest.mark.tags("0331")
def test_flush_empty_collection(self, connect, collection):
'''
method: flush collection with no vectors
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册