tests: Increase a sleep

This commit is contained in:
Fabian Boehm 2023-11-15 17:44:47 +01:00
parent f3ce78bc53
commit 366b3f21c6

View File

@ -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)