Пример #1
0
 def _check_repl_dbhash(self, test_report):
     dbhash_test_case = dbhash.CheckReplDBHash(self._hook.logger,
                                               self.fixture)
     dbhash_test_case.before_suite(test_report)
     dbhash_test_case.before_test(self, test_report)
     dbhash_test_case.after_test(self, test_report)
     dbhash_test_case.after_suite(test_report)
Пример #2
0
 def _run_check_repl_db_hash(self, test, test_report):
     """Check the repl DB hash on each cluster."""
     check_db_hash = dbhash.CheckReplDBHash(self.logger, self._fixture)
     check_db_hash.before_suite(test_report)
     check_db_hash.before_test(test, test_report)
     check_db_hash.after_test(test, test_report)
     check_db_hash.after_suite(test_report)