mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 12:41:08 +08:00
tests: Increase a sleep
This commit is contained in:
parent
f3ce78bc53
commit
366b3f21c6
|
@ -31,7 +31,7 @@ exe_path = os.environ.get("fish_test_helper")
|
||||||
sp.sendline(exe_path + " nohup_wait")
|
sp.sendline(exe_path + " nohup_wait")
|
||||||
|
|
||||||
# We expect it to transfer tty ownership to fish_test_helper.
|
# We expect it to transfer tty ownership to fish_test_helper.
|
||||||
sleep(0.1)
|
sleep(1)
|
||||||
tty_owner = os.tcgetpgrp(sp.spawn.child_fd)
|
tty_owner = os.tcgetpgrp(sp.spawn.child_fd)
|
||||||
if fish_pid == tty_owner:
|
if fish_pid == tty_owner:
|
||||||
os.kill(fish_pid, signal.SIGKILL)
|
os.kill(fish_pid, signal.SIGKILL)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user