Skip to content

Commit

Permalink
Add default server restart before each test in consistent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Astronomax committed Oct 25, 2024
1 parent 7acc532 commit d481316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def main_loop_consistent(failed_test_ids):
worker_id = 1
worker = task_group['gen_worker'](worker_id)
for task_id in task_ids:
worker.restart_server()
# The 'run_task' method returns a tuple of two items:
# (short_status, duration). So taking the first
# item of this tuple for failure check.
Expand Down

0 comments on commit d481316

Please sign in to comment.