From 73d4b36e2a48c4fcd484d64d768ff7b066f190b4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sat, 25 May 2019 11:03:11 +0200 Subject: [PATCH] clients/tests: increase timeout waiting for stub D-Bus service I saw this timeout reached in our gitlab-ci. I think it was due to the machine being busy and taking more than 2 seconds. Assuming the timeout was just too short, increase it to 4 seconds. (cherry picked from commit 7af1fc803e98a8201a9c79cf11494de13151527f) --- clients/tests/test-client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index 08b0b951d1..eb1f7cba08 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -324,7 +324,7 @@ class NMStubServer: nmobj = self._conn_get_main_object(self._conn) if nmobj is not None: break - if (NM.utils_get_timestamp_msec() - start) >= 2000: + if (NM.utils_get_timestamp_msec() - start) >= 4000: p.stdin.close() p.kill() Util.popen_wait(p, 1000)