Remove incidental_win_data_deduplication test.

It no longer provides unique coverage.

ci_complete
ci_coverage
pull/76045/head
Matt Clay 3 years ago
parent 4cf290918f
commit cca9013df8

@ -1,5 +0,0 @@
shippable/windows/incidental
windows
skip/windows/2008
skip/windows/2008-R2
skip/windows/2012

@ -1,40 +0,0 @@
---
- set_fact:
AnsibleVhdx: '{{ remote_tmp_dir }}\AnsiblePart.vhdx'
- name: Install FS-Data-Deduplication
win_feature:
name: FS-Data-Deduplication
include_sub_features: true
state: present
register: data_dedup_feat_reg
- name: Reboot windows after the feature has been installed
win_reboot:
reboot_timeout: 3600
when:
- data_dedup_feat_reg.success
- data_dedup_feat_reg.reboot_required
- name: Copy VHDX scripts
win_template:
src: "{{ item.src }}"
dest: '{{ remote_tmp_dir }}\{{ item.dest }}'
loop:
- { src: partition_creation_script.j2, dest: partition_creation_script.txt }
- { src: partition_deletion_script.j2, dest: partition_deletion_script.txt }
- name: Create partition
win_command: diskpart.exe /s {{ remote_tmp_dir }}\partition_creation_script.txt
- name: Format T with NTFS
win_format:
drive_letter: T
file_system: ntfs
- name: Run tests
block:
- import_tasks: tests.yml
always:
- name: Detach disk
win_command: diskpart.exe /s {{ remote_tmp_dir }}\partition_deletion_script.txt

@ -1,47 +0,0 @@
---
- name: Enable Data Deduplication on the T drive - check mode
win_data_deduplication:
drive_letter: "T"
state: present
settings:
no_compress: true
minimum_file_age_days: 2
minimum_file_size: 0
check_mode: yes
register: win_data_deduplication_enable_check_mode
- name: Check that it was successful with a change - check mode
assert:
that:
- win_data_deduplication_enable_check_mode is changed
- name: Enable Data Deduplication on the T drive
win_data_deduplication:
drive_letter: "T"
state: present
settings:
no_compress: true
minimum_file_age_days: 2
minimum_file_size: 0
register: win_data_deduplication_enable
- name: Check that it was successful with a change
assert:
that:
- win_data_deduplication_enable is changed
- name: Enable Data Deduplication on the T drive
win_data_deduplication:
drive_letter: "T"
state: present
settings:
no_compress: true
minimum_file_age_days: 2
minimum_file_size: 0
register: win_data_deduplication_enable_again
- name: Check that it was successful without a change
assert:
that:
- win_data_deduplication_enable_again is not changed

@ -1,11 +0,0 @@
create vdisk file="{{ AnsibleVhdx }}" maximum=2000 type=fixed
select vdisk file="{{ AnsibleVhdx }}"
attach vdisk
convert mbr
create partition primary
assign letter="T"
Loading…
Cancel
Save