Add slight delay 2nd ctlc round..

signint_saviour
Tyler Goodlet 2022-07-10 20:46:16 -04:00
parent a90ca4b384
commit 9bc38cbf04
1 changed files with 4 additions and 0 deletions

View File

@ -187,6 +187,10 @@ def test_root_actor_bp_forever(
child.sendline('continue') child.sendline('continue')
child.expect(r"\(Pdb\+\+\)") child.expect(r"\(Pdb\+\+\)")
# seems that if we hit ctrl-c too fast the
# sigint guard machinery might not kick in..
time.sleep(0.001)
if ctlc: if ctlc:
do_ctlc(child) do_ctlc(child)