From 8fd847fca8800eed37cba4e4db539e07e85839cd Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Fri, 25 Oct 2024 15:57:01 -0400 Subject: [PATCH] tests/storage-vm: discard v1/snap0 as soon as unneeded Signed-off-by: Simon Deziel --- tests/storage-vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/storage-vm b/tests/storage-vm index 67a4d9c6..631e4dd6 100755 --- a/tests/storage-vm +++ b/tests/storage-vm @@ -227,6 +227,7 @@ for poolDriver in $poolDriverList; do echo "==> Checking running migrated VM snapshot (different storage pool)" lxc copy v1/snap0 localhost:v2 -s "${poolName}2" + lxc delete v1/snap0 lxc start v2 waitInstanceReady v2 [ "$(lxc exec v2 -- cat /root/foo.txt)" = "foo" ] @@ -253,7 +254,6 @@ for poolDriver in $poolDriverList; do waitInstanceReady v2 lxc delete -f v2 - lxc delete v1/snap0 lxc remote rm localhost lxc config trust rm "$(lxc query /1.0/certificates?recursion=1 | jq -r '.[].fingerprint')" lxc storage delete "${poolName}2"