[skip ci] Reformat chaos test file (#11339)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/11343/head
ThreadDao 2021-11-05 19:43:05 +08:00 committed by GitHub
parent 9885838593
commit f5f4bee63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -29,6 +29,7 @@ def assert_statistic(checkers, expectations={}):
expect(succ_rate > 0.90 or total > 2,
f"Expect Succ: {str(k)} succ rate {succ_rate}, total: {total}")
def record_results(checkers):
res = ""
for k in checkers.keys():
@ -39,8 +40,6 @@ def record_results(checkers):
return res
class TestChaosBase:
expect_create = constants.SUCC
expect_insert = constants.SUCC