about summary refs log tree commit diff
path: root/shared/nm-test-utils-impl.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-12-06 21:57:59 +0100
committerMichael Biebl <biebl@debian.org>2020-12-06 21:57:59 +0100
commit65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (patch)
tree180827692f002e5f1dad6a0fa8ca489e6bb6438f /shared/nm-test-utils-impl.c
parentf2ddac4cbc895837ddcc55015fae112f9859cd0a (diff)
New upstream version 1.28.0 upstream/1.28.0
Diffstat (limited to 'shared/nm-test-utils-impl.c')
-rw-r--r--shared/nm-test-utils-impl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/nm-test-utils-impl.c b/shared/nm-test-utils-impl.c
index 7b71484e..57f30ea9 100644
--- a/shared/nm-test-utils-impl.c
+++ b/shared/nm-test-utils-impl.c
@@ -213,7 +213,11 @@ 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);