[gnome-software/wip/mcrha/ci-test: 2/2] CI: Disable Flatpak triggers for tests
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mcrha/ci-test: 2/2] CI: Disable Flatpak triggers for tests
- Date: Wed, 16 Mar 2022 16:39:16 +0000 (UTC)
commit 994ba40ec76e8979270c03bf9ffa3ff19cda9d0a
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 16 17:38:00 2022 +0100
CI: Disable Flatpak triggers for tests
Disable Flatpak triggers, by pointing to an invalid path,
to speed up the tests (specifically on Fedora, they could
even break the tests by a deadlock or something like that).
.gitlab-ci/run-tests.sh | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index bf57b9cf4..3810a8a5a 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -12,6 +12,11 @@ case "$1" in
log_file="_build/meson-logs/testlog.json"
esac
+# Disable Flatpak triggers, by pointing to an invalid path,
+# to speed up the tests (specifically on Fedora, they could
+# even break the tests by a deadlock or something like that).
+export FLATPAK_TRIGGERSDIR=/no/such/file/or/directory
+
# FIXME: The tests should be isolated and use mock services so they do not
# require a functioning system bus. This will have to do for now though.
sudo mkdir -p /run/dbus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]