[glib] Work around test failure in gdbus-names
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Work around test failure in gdbus-names
- Date: Mon, 17 Feb 2014 23:18:49 +0000 (UTC)
commit c37cd19feee3a609fec8909f01df8755052c59ab
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Feb 17 18:13:01 2014 -0500
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/gdbus-names.c b/gio/tests/gdbus-names.c
index af9dbe9..90c9eb3 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);
}
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]