diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2021-07-05 12:32:23 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2021-07-05 12:36:36 +0200 |
commit | b9e6b93282cbf3e5e995db6b9837c820577dcdcd (patch) | |
tree | b3c342a3c1fb9c2c23c2d53075f8b035963d774d | |
parent | 38fb001bbeaef71fa3138e8349bb24910bfb489a (diff) | |
download | tracker-b9e6b93282cbf3e5e995db6b9837c820577dcdcd.tar.gz |
tests: Disable GVFS in functional tests
On some of these tests, we create a per-testcase dbus environment,
thus rely on g_bus_get*() default connections to be correctly tear
down and created again for the next testcase.
GVFS does not seem to play along with this, and keeps the default
GDBusConnections alive between runs. This may fail with "Connection
already closed" if we attempted to get a default session/system bus
on later testcases, since the dbus daemon is actually tear down.
We actually don't need to pull GVFS here at all, so disable it
for our testcases to tiptoe the issue.
Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/314
-rw-r--r-- | tests/functional-tests/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build index 23f514d09..934a59833 100644 --- a/tests/functional-tests/meson.build +++ b/tests/functional-tests/meson.build @@ -43,6 +43,7 @@ test_env.prepend('GI_TYPELIB_PATH', tracker_sparql_uninstalled_dir) test_env.prepend('LD_LIBRARY_PATH', tracker_sparql_uninstalled_dir) test_env.prepend('PYTHONPATH', tracker_uninstalled_testutils_dir) test_env.set('TRACKER_FUNCTIONAL_TEST_CONFIG', config_json_full_path) +test_env.set('GIO_USE_VFS', 'local') foreach test_name: functional_tests file = meson.current_source_dir() / '@0@.py'.format(test_name) |