Skip to content

Commit

Permalink
[Windows] Skip MDAG test for build greater than 26052 (#574)
Browse files Browse the repository at this point in the history
Signed-off-by: Yanan Shen <[email protected]>
  • Loading branch information
123lzxm authored Apr 19, 2024
1 parent 1a1f57b commit 884fda6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions windows/mdag_enable_disable/mdag_enable_disable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@
(guest_os_ansible_distribution_major_ver | int == 10 and guest_os_build_num | int < 17763) or
(guest_os_ansible_distribution_major_ver | int < 10)
- name: "Skip test case"
include_tasks: ../../common/skip_test_case.yml
vars:
skip_msg:
- "Skip test case due to MDAG is no longer available as a feature and has been announced as deprecated from build 26052."
- "This guest OS build number: {{ guest_os_build_num }}."
- "Please refer to https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/"
skip_reason: "Not Supported"
when: guest_os_build_num | int >= 26052

- name: "Set MDAG feature name"
ansible.builtin.set_fact:
mdag_feature_name: "Windows-Defender-ApplicationGuard"
Expand Down

0 comments on commit 884fda6

Please sign in to comment.