From a009ca10a327d7db383f5d7726091050ceb4d60f Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sat, 31 Dec 2022 13:32:41 +0100 Subject: [PATCH] debian/tests/test-nut.py: Increase sleep after starting drivers The tests are flaky on some architectures, try to wait a bit longer that the driver starts. Closes: #1023530 Gbp-Dch: Full --- debian/tests/test-nut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/tests/test-nut.py b/debian/tests/test-nut.py index f23b488..3197c14 100644 --- a/debian/tests/test-nut.py +++ b/debian/tests/test-nut.py @@ -237,7 +237,7 @@ UPSMON_OPTIONS="" expected = 0 result = 'Got exit code %d, expected %d\n' % (rc, expected) self.assertEqual(expected, rc, result + report) - time.sleep(2) + time.sleep(10) def _stop(self): '''Stop NUT'''