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

pull/81889/head
Jordan Borean 8 months ago committed by GitHub
parent c0eefa955a
commit dfc62589f6
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