After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711805 - gdbus-connection: Fix race condition in test
gdbus-connection: Fix race condition in test
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gdbus
unspecified
Other All
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks: 711799
 
 
Reported: 2013-11-10 21:14 UTC by Stef Walter
Modified: 2013-11-23 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdbus-connection: Fix race condition in test (1.71 KB, patch)
2013-11-10 21:14 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-11-10 21:14:10 UTC
When running under something like valgrind the race becomes apparent between waiting for NameOwnerChanged and starting the process that claims the name.
Comment 1 Stef Walter 2013-11-10 21:14:14 UTC
Created attachment 259490 [details] [review]
gdbus-connection: Fix race condition in test

The test was expecting that the spawned process wouldn't start
up before the NameOwnerChanged signal was subscribed.
Comment 2 Matthias Clasen 2013-11-23 20:21:11 UTC
Attachment 259490 [details] pushed as 5a5aaa2 - gdbus-connection: Fix race condition in test