Revert "Work around test failure in gdbus-names"

This reverts commit c37cd19fee.

Now that we've reverted the commit "gtestdbus: Properly close server
connections", g_test_dbus_down() no longer returns early and we no
longer need this workaround. Since the gdbus-names test seems to
properly unref its GDBusConnection objects it's not clear to me why it
needed the sleep to succeed. However even at the time the failure wasn't
reproducible according to this comment[1] so it's probably not worth
spending more effort trying to reproduce it now.

[1] https://gitlab.gnome.org/GNOME/glib/issues/787#note_214235
This commit is contained in:
Matthew Leeds 2019-07-01 15:55:10 -07:00
parent d03025ba10
commit 1c63d5d539

View File

@ -472,9 +472,6 @@ 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);
}
/* ---------------------------------------------------------------------------------------------------- */