From d7b9c64757fb57c110d37a58ef7ba4b581a152e0 Mon Sep 17 00:00:00 2001 From: Ye Jianquan Date: Sat, 22 Oct 2022 01:04:17 +0800 Subject: [PATCH] Fix the issue that test plan can't be canceled by KVM dump stage (#12469) Why I did it Fix the issue that test plan can't be canceled by KVM dump stage How I did it Fix the issue that test plan can't be canceled by KVM dump stage --- .azure-pipelines/run-test-scheduler-template.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/run-test-scheduler-template.yml b/.azure-pipelines/run-test-scheduler-template.yml index 41956381fb..4173b062ad 100644 --- a/.azure-pipelines/run-test-scheduler-template.yml +++ b/.azure-pipelines/run-test-scheduler-template.yml @@ -95,7 +95,7 @@ steps: echo "Runtime detailed progress at https://www.testbed-tools.org/scheduler/testplan/$TEST_PLAN_ID" # When "KVMDUMP" finish, it changes into "FAILED", "CANCELLED" or "FINISHED" python ./.azure-pipelines/test_plan.py poll -i "$(TEST_PLAN_ID)" --timeout 43200 --expected-states FINISHED CANCELLED FAILED - condition: always() + condition: succeededOrFailed() env: TESTBED_TOOLS_URL: $(TESTBED_TOOLS_URL) displayName: KVM dump