[skip ci]Cancel second assert after chaos injected (#9670)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/9678/head
zhuwenxing 2021-10-11 19:30:37 +08:00 committed by GitHub
parent 4b7e024245
commit 3dfe23eff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -143,16 +143,16 @@ class TestChaos(TestChaosBase):
for k, t in self.checker_threads.items():
log.info(f"10s later: Thread {k} is_alive(): {t.is_alive()}")
# assert statistic
log.info("******2nd assert after chaos injected: ")
assert_statistic(self.health_checkers,
expectations={Op.create: self.expect_create,
Op.insert: self.expect_insert,
Op.flush: self.expect_flush,
Op.index: self.expect_index,
Op.search: self.expect_search,
Op.query: self.expect_query
})
# # assert statistic
# log.info("******2nd assert after chaos injected: ")
# assert_statistic(self.health_checkers,
# expectations={Op.create: self.expect_create,
# Op.insert: self.expect_insert,
# Op.flush: self.expect_flush,
# Op.index: self.expect_index,
# Op.search: self.expect_search,
# Op.query: self.expect_query
# })
# delete chaos
meta_name = chaos_config.get('metadata', None).get('name', None)