diff options
| author | Thomas Haller <thaller@redhat.com> | 2019-05-25 11:03:11 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2019-05-29 09:42:40 +0200 |
| commit | 7af1fc803e98a8201a9c79cf11494de13151527f (patch) | |
| tree | ca59bc1b504fe8dde7bbf809d7052dd4c978a191 | |
| parent | 5113c5bd00f061a407e2dc941cc462bc36fc2948 (diff) | |
| download | NetworkManager-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-x | clients/tests/test-client.py | 2 |
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) |
