mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-28 20:00:05 +01:00
test: Allow daemon to take 5 seconds for shutdown
It seems like shutdown can take more than 2 seconds on some slow systems. So increase to 5 seconds which hopefully is long enough. Closes: #188
This commit is contained in:
parent
c64b020f99
commit
f1c00e50c2
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ class Tests(dbusmock.DBusTestCase):
|
|||
except OSError:
|
||||
pass
|
||||
try:
|
||||
self.assertEqual(self.daemon.wait(timeout=2.0), 0)
|
||||
self.assertEqual(self.daemon.wait(timeout=5.0), 0)
|
||||
except subprocess.TimeoutExpired:
|
||||
try:
|
||||
self.daemon.kill()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue