Skip to content

Commit

Permalink
tests/storage-vm: early abort
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Nov 26, 2024
1 parent 72fd0c1 commit d6b28a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/storage-vm
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ for poolDriver in $poolDriverList; do
waitInstanceReady v1
[ "$(lxc exec v1 -- cat /root/foo.txt)" = "foo" ]

echo "FAILING early"
exit 1

echo "==> Checking VM filesystem volume was restored too"
nsenter --mount=/run/snapd/ns/lxd.mnt [ -f "/var/snap/lxd/common/lxd/storage-pools/${poolName}/virtual-machines/v1/foo" ]

Expand Down

0 comments on commit d6b28a3

Please sign in to comment.