summaryrefslogtreecommitdiff
path: root/shared/nm-test-utils-impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/nm-test-utils-impl.c')
-rw-r--r--shared/nm-test-utils-impl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c
index 02d7159342..9e2eea27e5 100644
--- a/shared/nm-test-utils-impl.c
+++ b/shared/nm-test-utils-impl.c
@@ -247,7 +247,10 @@ again_wait:
g_assert (ret == info->pid);
}
- g_assert (!name_exists (info->bus, "org.freedesktop.NetworkManager"));
+ nmtst_main_context_iterate_until_assert_full (NULL,
+ 1000,
+ 80,
+ (!name_exists (info->bus, "org.freedesktop.NetworkManager")));
g_clear_object (&info->bus);