Skip to content

Commit

Permalink
play: increase timeout (#625)
Browse files Browse the repository at this point in the history
Workflows can take substantially longer than 20 seconds to startup.
  • Loading branch information
oliver-sanders authored Oct 9, 2024
1 parent a71ede5 commit d7387b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cylc/uiserver/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async def play(
stderr=PIPE,
text=True
)
ret_code = proc.wait(timeout=20)
ret_code = proc.wait(timeout=120)

if ret_code:
# command failed
Expand Down
2 changes: 1 addition & 1 deletion cylc/uiserver/tests/test_resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def wait(timeout):
log=Mock(),
)
assert ret == [
False, "Command 'cylc play wflow1' timed out after 20 seconds"
False, "Command 'cylc play wflow1' timed out after 120 seconds"
]


Expand Down

0 comments on commit d7387b2

Please sign in to comment.