Timeout the test if dbus sevice has not appeared in due time.
authorJosep Puigdemont <josep.puigdemont@enea.com>
Tue, 21 May 2013 14:46:25 +0000 (16:46 +0200)
committerColin Walters <walters@verbum.org>
Tue, 21 May 2013 15:18:08 +0000 (11:18 -0400)
commitc9cc0beb3a8c298b843efdb71822a71cc078a8ac
tree3cf348042c2f521cb39757250ab6a4b91f5cf794
parent4edc2f1a9330006a5d615bc16264b5328da6fe66
Timeout the test if dbus sevice has not appeared in due time.

The test /gdbus/connection/large_message waits for a dbus name to appear.
The dbus name is created by a another process executed in the background.
If for some reason this fails, the test will likely wait forever.
This will avoid this situation by making the test fail if the dbus service
has not appeared after 10 seconds.

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