Skip to content

Commit d7387b2

Browse files
play: increase timeout (#625)
Workflows can take substantially longer than 20 seconds to startup.
1 parent a71ede5 commit d7387b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cylc/uiserver/resolvers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ async def play(
314314
stderr=PIPE,
315315
text=True
316316
)
317-
ret_code = proc.wait(timeout=20)
317+
ret_code = proc.wait(timeout=120)
318318

319319
if ret_code:
320320
# command failed

cylc/uiserver/tests/test_resolvers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def wait(timeout):
224224
log=Mock(),
225225
)
226226
assert ret == [
227-
False, "Command 'cylc play wflow1' timed out after 20 seconds"
227+
False, "Command 'cylc play wflow1' timed out after 120 seconds"
228228
]
229229

230230

0 commit comments

Comments
 (0)