Work around test failure in gdbus-names
authorRyan Lortie <desrt@desrt.ca>
Mon, 17 Feb 2014 23:13:01 +0000 (18:13 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 17 Feb 2014 23:18:20 +0000 (18:18 -0500)
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

index af9dbe9..90c9eb3 100644 (file)
@@ -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);
 }
 
 /* ---------------------------------------------------------------------------------------------------- */