Fix test case (#7744)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/7754/head
binbin 2021-09-10 19:26:01 +08:00 committed by GitHub
parent 15a6f30ac4
commit e9d948a7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -765,6 +765,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()
@pytest.mark.tags(ct.CaseLabel.L2)