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 <hpa@redhat.com>
This commit is contained in:
Kate Hsuan 2024-12-06 14:11:20 +08:00
parent 422ac4be74
commit a038b237fb

View file

@ -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()