2x the ctl-c loop prompt-timeout for non-linux in CI
parent
5b2905b702
commit
79396b4a26
|
|
@ -293,7 +293,7 @@ def do_ctlc(
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
child.expect(
|
child.expect(
|
||||||
PROMPT,
|
PROMPT,
|
||||||
# timeout=1, # TODO? if needed
|
timeout=(child.timeout * 2) if _ci_env else child.timeout,
|
||||||
)
|
)
|
||||||
before = str(child.before.decode())
|
before = str(child.before.decode())
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue