From 3d769f3a76a867ea61df16eee328bd40fc91a950 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 2 Sep 2020 15:08:04 -0700 Subject: [PATCH] Add pause to avoid same mtime in test. --- test/integration/targets/file/tasks/directory_as_dest.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/targets/file/tasks/directory_as_dest.yml b/test/integration/targets/file/tasks/directory_as_dest.yml index b51fa72a7fd..9b6ddb5dc92 100644 --- a/test/integration/targets/file/tasks/directory_as_dest.yml +++ b/test/integration/targets/file/tasks/directory_as_dest.yml @@ -242,6 +242,10 @@ follow: False register: file8_initial_dir_stat +- name: Pause to ensure stat times are not the exact same + pause: + seconds: 1 + - name: Use touch with directory as dest file: dest: '{{output_dir}}/sub1'