Skip to content

Commit

Permalink
scripts: clean up all test VMs after test.
Browse files Browse the repository at this point in the history
Update test VM directory glob pattern to test/e2e/n[0-9]*-c*.
This should also catch and clean up the latest VM topology
addition (n6-hbm-cxl-fedora-40-cloud-base-containerd).

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub authored and askervin committed Dec 10, 2024
1 parent 93c4081 commit b504814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/testing/e2e-runner
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ cleanup_test_vms() {

info "cleaning up test VMs..."
must-cd "$WORKTREE"
for src in test/e2e/n[0-9]*c[0-9]*-c*; do
for src in test/e2e/n[0-9]*-c*; do
(cd "$src" && vagrant destroy --force)
done
}
Expand Down

0 comments on commit b504814

Please sign in to comment.