tests/signals.py: Increase a sleep

This commit is contained in:
Fabian Boehm 2023-01-18 16:48:49 +01:00
parent 83d95cea35
commit 48db9e6a3f

View File

@ -76,7 +76,7 @@ send("sleep 131 & echo $last_pid\r")
pids += [expect_re("\d+\r\n").group().strip()]
expect_prompt()
send("sleep 9999999\r")
sleep(0.300) # ensure fish kicks off the above sleep before it gets HUP - see #7288
sleep(0.500) # ensure fish kicks off the above sleep before it gets HUP - see #7288
os.kill(sp.spawn.pid, signal.SIGHUP)
# Verify the spawned fish shell has exited.