Skip to content

Commit caadd7e

Browse files
committed
CI: mostly disable snapshot tests
The snapshot tests are too flaky, especially with the archlinux template Signed-off-by: Akihiro Suda <[email protected]>
1 parent 675b9ad commit caadd7e

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

hack/test-example.sh

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ declare -A CHECKS=(
2626
["mount-home"]="1"
2727
["containerd-user"]="1"
2828
["restart"]="1"
29-
["snapshot-online"]="1"
30-
["snapshot-offline"]="1"
29+
# snapshot tests are too flaky (especially with archlinux)
30+
["snapshot-online"]=""
31+
["snapshot-offline"]=""
3132
["port-forwards"]="1"
3233
["vmnet"]=""
3334
["disk"]=""
@@ -50,27 +51,18 @@ case "$NAME" in
5051
# ● run-r2b459797f5b04262bfa79984077a65c7.service loaded failed failed /usr/bin/systemctl start man-db-cache-update
5152
CHECKS["systemd-strict"]=
5253
;;
53-
"9p")
54-
CHECKS["snapshot-online"]=""
55-
;;
56-
"virtiofs-linux")
57-
CHECKS["snapshot-online"]=""
58-
;;
5954
"vmnet")
6055
CHECKS["vmnet"]=1
6156
;;
6257
"test-misc")
6358
CHECKS["disk"]=1
59+
CHECKS["snapshot-online"]="1"
60+
CHECKS["snapshot-offline"]="1"
6461
;;
6562
"net-user-v2")
6663
CHECKS["port-forwards"]=""
67-
CHECKS["snapshot-online"]=""
6864
CHECKS["user-v2"]=1
6965
;;
70-
"vz")
71-
CHECKS["snapshot-online"]=""
72-
CHECKS["snapshot-offline"]=""
73-
;;
7466
esac
7567

7668
if limactl ls -q | grep -q "$NAME"; then

0 commit comments

Comments
 (0)