def __init__(self, *args): super().__init__(*args) # suppress YCSB client error and timeout to warnings for all the test in this class self.stack = contextlib.ExitStack() self.stack.enter_context(ignore_alternator_client_errors()) self.stack.enter_context(ignore_operation_errors())
def test_latency(self): with ignore_operation_errors(): self.preload_data() self.run_compaction_on_all_nodes() for subtest in self.lwt_subtests: self._run_workload(subtest['sct_param'], subtest['subtest_name']) self.check_regression_multi_baseline( subtests_info=self.lwt_subtests, metrics=self.latency_report_metrics)