Commit 31ad3b84 authored by Łukasz Nowak's avatar Łukasz Nowak

promise/plugin: check_file_state configurability fix

Honor result_count and failure_amount in the test method too.
parent cd6ee310
...@@ -57,6 +57,10 @@ class RunPromise(GenericPromise): ...@@ -57,6 +57,10 @@ class RunPromise(GenericPromise):
else: else:
self.logger.info("OK %r state %r" % (filename, state)) self.logger.info("OK %r state %r" % (filename, state))
def test(self):
return self._test(
result_count=self.result_count, failure_amount=self.failure_amount)
def anomaly(self): def anomaly(self):
return self._anomaly( return self._anomaly(
result_count=self.result_count, failure_amount=self.failure_amount) result_count=self.result_count, failure_amount=self.failure_amount)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment