mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
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:
parent
422ac4be74
commit
a038b237fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue