From ab6c2ccaec192684cf4649d5d69bd105d738d1c7 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 28 Aug 2017 12:11:49 -0700 Subject: [PATCH] Increase delay in UserInterrupt. When a machine is very loaded, otherwise it could happen that we send the interrupt before the resume has actually happened. --- debug/gdbserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index ed881e4..cbb1299 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -408,7 +408,7 @@ class UserInterrupt(DebugTest): self.gdb.c() self.gdb.p("i=123") self.gdb.c(wait=False) - time.sleep(0.5) + time.sleep(2) output = self.gdb.interrupt() assert "main" in output assertGreater(self.gdb.p("j"), 10) -- 2.30.2