Skip to content

Commit 2df5112

Browse files
authored
Merge pull request #4390 from AkihiroSuda/ci-unrelax-systemd-fedora
CI: remove "Relaxing systemd tests for fedora" workaround
2 parents c2621a3 + fbc1054 commit 2df5112

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

hack/test-templates.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ CONTAINER_ENGINE="nerdctl"
4141
declare -A CHECKS=(
4242
["proxy-settings"]="1"
4343
["systemd"]="1"
44-
["systemd-strict"]="1"
4544
["mount-home"]="1"
4645
["container-engine"]="1"
4746
["restart"]="1"
@@ -80,12 +79,6 @@ case "$NAME" in
8079
ERROR "File \"$FILE\" is not testable with this script"
8180
exit 1
8281
;;
83-
"fedora")
84-
WARNING "Relaxing systemd tests for fedora (For avoiding CI failure)"
85-
# CI failure:
86-
# ● run-r2b459797f5b04262bfa79984077a65c7.service loaded failed failed /usr/bin/systemctl start man-db-cache-update
87-
CHECKS["systemd-strict"]=
88-
;;
8982
"test-misc")
9083
CHECKS["disk"]=1
9184
CHECKS["snapshot-online"]="1"
@@ -319,11 +312,7 @@ if [[ -n ${CHECKS["systemd"]} ]]; then
319312
if ! limactl shell "$NAME" systemctl is-system-running --wait; then
320313
ERROR '"systemctl is-system-running" failed'
321314
diagnose "$NAME"
322-
if [[ -z ${CHECKS["systemd-strict"]} ]]; then
323-
INFO 'Ignoring "systemctl is-system-running" failure'
324-
else
325-
exit 1
326-
fi
315+
exit 1
327316
fi
328317
set +x
329318
fi

0 commit comments

Comments
 (0)