From 92447debff8d9c32e541ec68acb0d5212fa952c9 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 4 Oct 2023 13:24:40 -0400 Subject: [PATCH] win_fetch - improve test time by not scanning Win dir (#81884) (#81887) (cherry picked from commit dfc62589f6dfd5282b21158bcd85078428c06c96) --- test/integration/targets/win_fetch/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/integration/targets/win_fetch/tasks/main.yml b/test/integration/targets/win_fetch/tasks/main.yml index 78b6fa02c9b..b5818352ccc 100644 --- a/test/integration/targets/win_fetch/tasks/main.yml +++ b/test/integration/targets/win_fetch/tasks/main.yml @@ -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