From 9bc38cbf04f1ec09ff49a217ad342f081c955264 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 10 Jul 2022 20:46:16 -0400 Subject: [PATCH] Add slight delay 2nd ctlc round.. --- tests/test_debugger.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_debugger.py b/tests/test_debugger.py index 88d46b5..7d07977 100644 --- a/tests/test_debugger.py +++ b/tests/test_debugger.py @@ -187,6 +187,10 @@ def test_root_actor_bp_forever( child.sendline('continue') 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: do_ctlc(child)