Skip to content

Commit

Permalink
consider unplanned timeouts as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gratux committed Nov 13, 2023
1 parent 0b4ebff commit 7afcc1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tortillas/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def run_test(test_queue: list[TestRun]):
# Testing finished

self.success = not any(
test_run.result.status in (TestStatus.FAILED, TestStatus.PANIC)
test_run.result.status in (TestStatus.FAILED, TestStatus.PANIC, TestStatus.TIMEOUT)
for test_run in self.test_runs
)

Expand Down

0 comments on commit 7afcc1c

Please sign in to comment.