Skip to content

Commit

Permalink
Cleanup enhancement for VM e2e test (#5406)
Browse files Browse the repository at this point in the history
Clean stale docker resources before running
VM e2e tests.

Signed-off-by: Mengdie Song <[email protected]>
  • Loading branch information
mengdie-song authored Aug 21, 2023
1 parent 35c113b commit 03c8683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/jenkins/test-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function clean_antrea {
kubectl delete -f ${WORKDIR}/antrea.yml --ignore-not-found=true
# The cleanup and stats are best-effort.
set +e
docker image prune -f --filter "until=1h" > /dev/null
docker system prune --force --all --filter until=1h > /dev/null
docker system df -v
set -e
}
Expand Down

0 comments on commit 03c8683

Please sign in to comment.