diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-05-20 14:35:23 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-05-20 14:35:23 +0200 |
commit | f1c00e50c2033c206f585398fcc2ea329f4494fa (patch) | |
tree | caf73a7a2150e5445a7faad75e5d870b0d74c4a8 | |
parent | c64b020f9948f024d6dc617a7c4402266b5bd811 (diff) | |
download | upower-f1c00e50c2033c206f585398fcc2ea329f4494fa.tar.gz |
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
-rwxr-xr-x | src/linux/integration-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/integration-test.py b/src/linux/integration-test.py index d6f6dda..863faef 100755 --- a/src/linux/integration-test.py +++ b/src/linux/integration-test.py @@ -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() |