Skip to content

Commit b439893

Browse files
authored
test(NODE-5183): Clean up Azure resources on task failure (#3632)
1 parent 0424080 commit b439893

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.evergreen/config.in.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,6 +1275,10 @@ task_groups:
12751275
file: src/testazurekms-expansions.yml
12761276

12771277
teardown_group:
1278+
# Load expansions again. The setup task may have failed before running `expansions.update`.
1279+
- command: expansions.update
1280+
params:
1281+
file: testazurekms-expansions.yml
12781282
- command: subprocess.exec
12791283
params:
12801284
binary: bash

.evergreen/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,6 +3149,9 @@ task_groups:
31493149
params:
31503150
file: src/testazurekms-expansions.yml
31513151
teardown_group:
3152+
- command: expansions.update
3153+
params:
3154+
file: testazurekms-expansions.yml
31523155
- command: subprocess.exec
31533156
params:
31543157
binary: bash

0 commit comments

Comments
 (0)