[gnome-software/wip/mcrha/ci-test] CI: Avoid Flatpak triggers for tests
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mcrha/ci-test] CI: Avoid Flatpak triggers for tests
- Date: Wed, 16 Mar 2022 17:03:50 +0000 (UTC)
commit 9a4d112bc5818e359d892a2555529be747b6e196
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 16 17:38:00 2022 +0100
CI: Avoid Flatpak triggers for tests
Remove Flatpak triggers, 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 | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index bf57b9cf4..cb550d329 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -12,6 +12,12 @@ case "$1" in
log_file="_build/meson-logs/testlog.json"
esac
+# Remove Flatpak triggers, to speed up the tests (specifically on Fedora,
+# they could even break the tests by a deadlock or something like that).
+if [ -d /usr/share/flatpak/triggers ]; then
+ sudo rm -rf /usr/share/flatpak/triggers
+fi
+
# 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]