From 4de0c00322813c619a519db23f0a202cee516d27 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 29 Feb 2024 15:07:58 +0800 Subject: [PATCH] ci: delete upgrade test pod Signed-off-by: Chris --- test_framework/scripts/longhorn-setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_framework/scripts/longhorn-setup.sh b/test_framework/scripts/longhorn-setup.sh index 8f7e3aa873..db4519ad27 100755 --- a/test_framework/scripts/longhorn-setup.sh +++ b/test_framework/scripts/longhorn-setup.sh @@ -341,6 +341,9 @@ run_longhorn_upgrade_test(){ # get upgrade test junit xml report kubectl cp ${LONGHORN_UPGRADE_TEST_POD_NAME}:${LONGHORN_JUNIT_REPORT_PATH} "${TF_VAR_tf_workspace}/${LONGHORN_UPGRADE_TEST_POD_NAME}-junit-report.xml" -c longhorn-test-report + + # delete upgrade test pod + kubectl delete -f ${LONGHORN_UPGRADE_TESTS_MANIFEST_FILE_PATH} }