From e9a59a2a597c08f2141e10c848a9feb73956bd8b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 20 Oct 2021 08:02:10 -0400 Subject: [PATCH] tests: When heavily loaded do not send SIGBUS so fast Our topotests send SIGBUS 2 seconds after a SIGTERM is initiated. This is bad because under a heavily loaded topotest system we may have a case where the system has not had a chance to properly shut down the daemon. Extend the time greatly before topotests send SIGBUS. Signed-off-by: Donald Sharp --- tests/topotests/lib/topotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index b98698185c..947ea196b6 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -1445,7 +1445,7 @@ class Router(Node): running = self.listDaemons() if running: - for _ in range(0, 5): + for _ in range(0, 30): sleep( 0.5, "{}: waiting for daemons stopping: {}".format( -- 2.39.5