mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
PYPE-1901 - terminate process after timeout
This commit is contained in:
parent
280c7d96ea
commit
9607026dae
1 changed files with 1 additions and 0 deletions
|
|
@ -228,6 +228,7 @@ class PublishTest(ModuleUnitTest):
|
|||
while launched_app.poll() is None:
|
||||
time.sleep(0.5)
|
||||
if time.time() - time_start > self.TIMEOUT:
|
||||
launched_app.terminate()
|
||||
raise ValueError("Timeout reached")
|
||||
|
||||
# some clean exit test possible?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue