From 3dfe23eff34969f7c1998022e400e7005e7dd2f5 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Mon, 11 Oct 2021 19:30:37 +0800 Subject: [PATCH] [skip ci]Cancel second assert after chaos injected (#9670) Signed-off-by: zhuwenxing --- tests/python_client/chaos/test_chaos.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/python_client/chaos/test_chaos.py b/tests/python_client/chaos/test_chaos.py index a966a39898..074f347f41 100644 --- a/tests/python_client/chaos/test_chaos.py +++ b/tests/python_client/chaos/test_chaos.py @@ -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)