[CI/Build] Increasing timeout for multiproc worker tests (#8203)

This commit is contained in:
Alexey Kondratiev(AMD)
2024-09-06 14:51:03 -04:00
committed by GitHub
parent de80783b69
commit 1447c97e75

View File

@@ -83,7 +83,7 @@ def test_local_workers() -> None:
workers[3].process.kill() workers[3].process.kill()
# Other workers should get shut down here # Other workers should get shut down here
worker_monitor.join(2) worker_monitor.join(20)
# Ensure everything is stopped # Ensure everything is stopped
assert not worker_monitor.is_alive() assert not worker_monitor.is_alive()
@@ -108,7 +108,7 @@ def test_local_workers_clean_shutdown() -> None:
# Clean shutdown # Clean shutdown
worker_monitor.close() worker_monitor.close()
worker_monitor.join(5) worker_monitor.join(20)
# Ensure everything is stopped # Ensure everything is stopped
assert not worker_monitor.is_alive() assert not worker_monitor.is_alive()
@@ -161,7 +161,7 @@ async def test_local_workers_async() -> None:
workers[3].process.kill() workers[3].process.kill()
# Other workers should get shut down here # Other workers should get shut down here
worker_monitor.join(2) worker_monitor.join(20)
# Ensure everything is stopped # Ensure everything is stopped
assert not worker_monitor.is_alive() assert not worker_monitor.is_alive()