From a038b237fb3f973bb1e6cf77017e7b4c9db673aa Mon Sep 17 00:00:00 2001 From: Kate Hsuan Date: Fri, 6 Dec 2024 14:11:20 +0800 Subject: [PATCH] linux: integration-test: wait 10 seconds for stopping the daemon Some slow systems take more than 5 seconds to stop the daemon. The waiting time was extended to 10 seconds to ensure the daemon shutdowns properly. Resolves: #290 Signed-off-by: Kate Hsuan --- src/linux/integration-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/integration-test.py b/src/linux/integration-test.py index f6c804a..346c2af 100755 --- a/src/linux/integration-test.py +++ b/src/linux/integration-test.py @@ -243,7 +243,7 @@ class Tests(dbusmock.DBusTestCase): except OSError: pass try: - self.assertEqual(self.daemon.wait(timeout=5.0), 0) + self.assertEqual(self.daemon.wait(timeout=10.0), 0) except subprocess.TimeoutExpired: try: self.daemon.kill()