mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 05:40:11 +01:00
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 7af1fc803e)
This commit is contained in:
parent
1f3b342ad4
commit
73d4b36e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue