Skip to content

Commit 2dba176

Browse files
authored
Fix: create ubuntu_azure_kernel_validate.yml with proper tier-based test filtering
When tier=0 is passed, 300+ test cases were being selected because the runbook was missing the ./tiers/tier.yml include that maps the tier variable to proper priority-based testcase criteria. The fix includes ./tiers/tier.yml which dynamically includes t$(tier).yml: - tier=0 → t0.yml → testcase criteria: priority: 0 (select only priority 0 tests) - tier=1 → t1.yml → testcase criteria: priority: [0, 1] - etc. This ensures the tier variable properly controls test case selection, preventing unfiltered broad selection of 300+ tests when tier0 is specified.
1 parent a497d6f commit 2dba176

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ubuntu azure kernel validate
2+
include:
3+
- path: ./tiers/tier.yml
4+
- path: ./azure.yml
5+
6+
variable:
7+
- name: subscription_id
8+
value: ""
9+
- name: tier
10+
value: 0
11+
- name: test_name
12+
value: ""
13+
- name: project
14+
value: ""
15+
- name: pass
16+
value: ""
17+
- name: marketplace_image
18+
value: "canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest"
19+
- name: location
20+
value: "westus3"
21+
- name: kernel_installer_is_success
22+
value: False
23+
- name: vhd
24+
value: ""

0 commit comments

Comments
 (0)