Skip to content

Commit

Permalink
test(supervisors): improve test_multiprocess reliability
Browse files Browse the repository at this point in the history
  • Loading branch information
vvanglro committed Dec 16, 2024
1 parent 0956647 commit f95cd0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/supervisors/test_multiprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ def test_multiprocess_health_check() -> None:
for p in supervisor.processes:
assert p.is_alive()
break
except AssertionError:
except AssertionError: # pragma: no cover
time.sleep(1)
else:
else: # pragma: no cover
raise RuntimeError()
finally:
supervisor.signal_queue.append(signal.SIGINT)
Expand Down

0 comments on commit f95cd0f

Please sign in to comment.