From c37cd19feee3a609fec8909f01df8755052c59ab Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 17 Feb 2014 18:13:01 -0500 Subject: [PATCH] Work around test failure in gdbus-names This is caused by g_test_dbus_down() returning too soon. Add a sleep for now. https://bugzilla.gnome.org/show_bug.cgi?id=711807 --- gio/tests/gdbus-names.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/tests/gdbus-names.c b/gio/tests/gdbus-names.c index af9dbe94a..90c9eb3a7 100644 --- a/gio/tests/gdbus-names.c +++ b/gio/tests/gdbus-names.c @@ -472,6 +472,9 @@ test_bus_own_name (void) g_object_unref (c2); session_bus_down (); + + /* See https://bugzilla.gnome.org/show_bug.cgi?id=711807 */ + g_usleep (1000000); } /* ---------------------------------------------------------------------------------------------------- */