summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-05-25 11:03:11 +0200
committerThomas Haller <thaller@redhat.com>2019-05-29 09:42:40 +0200
commit7af1fc803e98a8201a9c79cf11494de13151527f (patch)
treeca59bc1b504fe8dde7bbf809d7052dd4c978a191
parent5113c5bd00f061a407e2dc941cc462bc36fc2948 (diff)
downloadNetworkManager-7af1fc803e98a8201a9c79cf11494de13151527f.tar.gz
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.
-rwxr-xr-xclients/tests/test-client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py
index b2411d6e52..ff5a3604dd 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)