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:
Thomas Haller 2019-05-25 11:03:11 +02:00
parent 1f3b342ad4
commit 73d4b36e2a

View file

@ -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)