gdbus-connection: Work around race in connection tests
authorStef Walter <stefw@gnome.org>
Wed, 4 Dec 2013 11:48:53 +0000 (12:48 +0100)
committerStef Walter <stefw@gnome.org>
Wed, 11 Dec 2013 06:32:03 +0000 (07:32 +0100)
commite6456bcfb682113b2b623e9ccd9bcec46626e4ed
tree8d72150f4f1b4483fa3923595439957e4e8a9525
parenta22f77739dd4ec911d7bdc0f0fc61314e5f9f1cf
gdbus-connection: Work around race in connection tests

GDBusConnection cleanup is inherently racy due to its use of worker
threads. Put tests that expect a NULL G_BUS_TYPE_SESSION singleton
as the first tests to work around cleanup races.

https://bugzilla.gnome.org/show_bug.cgi?id=719837
gio/tests/gdbus-connection.c