mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-17 05:30:35 +01:00
tests: raise the mock service startup timeout
Python is just too slow on some machines. Needed around twice the previous
limit on BCM2835 with Pidora 20, let's add some safety margin too.
(cherry picked from commit 81cc4d27b1)
This commit is contained in:
parent
7f3115e0ec
commit
502b45f0d4
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ nm_test_service_init (void)
|
|||
g_assert_no_error (error);
|
||||
|
||||
/* Wait until the service is registered on the bus */
|
||||
for (i = 100; i > 0; i--) {
|
||||
for (i = 1000; i > 0; i--) {
|
||||
if (name_exists (info->bus, "org.freedesktop.NetworkManager"))
|
||||
break;
|
||||
g_usleep (G_USEC_PER_SEC / 50);
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ nm_test_service_init (void)
|
|||
g_assert_no_error (error);
|
||||
|
||||
/* Wait until the service is registered on the bus */
|
||||
for (i = 100; i > 0; i--) {
|
||||
for (i = 1000; i > 0; i--) {
|
||||
if (name_exists (info->bus, "org.freedesktop.NetworkManager"))
|
||||
break;
|
||||
g_usleep (G_USEC_PER_SEC / 50);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue