tests: fix spurious souphttpsrc test timouts
authorTim-Philipp Müller <tim@centricular.com>
Thu, 18 Feb 2016 13:43:07 +0000 (13:43 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 18 Feb 2016 13:46:45 +0000 (13:46 +0000)
Set GSETTINGS_BACKEND=memory, apparently there's something
about fork() and the dconf backend (or whatever else that
drags in or activates) that messes up locking and causes
timeouts due to deadlocks in g_mutex_lock(), since
everything works fine with CK_FORK=no as well.

tests/check/Makefile.am

index 2da3aaf..bc78f9f 100644 (file)
@@ -15,7 +15,8 @@ AM_TESTS_ENVIRONMENT += \
                cacasink cairotextoverlay \
                halaudiosrc halaudiosink jackaudiosrc jackaudiosink \
                osssrc osssink osxaudiosink osxaudiosrc osxvideosrc osxvideosink \
-               pulsesink pulsesrc pulsemixer v4l2src"
+               pulsesink pulsesrc pulsemixer v4l2src" \
+       GSETTINGS_BACKEND="memory"
 
 # fake device drivers: we could run hardware element tests against dummy drivers
 # v4l2: vivo (part of normal kernel)