win_fetch - improve test time by not scanning Win dir (#81884) (#81888)

(cherry picked from commit dfc62589f6)
pull/81920/head
Jordan Borean 1 year ago committed by GitHub
parent 4ac5b51529
commit 5665eca5e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -176,8 +176,13 @@
- "fetch_missing_implicit.msg"
- "fetch_missing_implicit is not changed"
- name: create empty temp directory
win_file:
path: '{{ remote_tmp_dir }}\fetch_tmp'
state: directory
- name: attempt to fetch a directory
fetch: src="C:\\Windows" dest={{ host_output_dir }}
fetch: src="{{ remote_tmp_dir }}\\fetch_tmp" dest={{ host_output_dir }}
register: fetch_dir
ignore_errors: true
@ -224,4 +229,3 @@
assert:
that:
- "fetch_wildcard_file_nofail is not failed"

Loading…
Cancel
Save