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:
Lubomir Rintel 2015-08-17 10:51:52 +02:00
parent 7f3115e0ec
commit 502b45f0d4
2 changed files with 2 additions and 2 deletions

View file

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

View file

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