add pause to make test more stable (#51680)

(cherry picked from commit ebc9e4caf7)
pull/51774/head
Jordan Borean 6 years ago committed by Toshio Kuratomi
parent d56d7997c4
commit 06505fc521

@ -498,6 +498,9 @@
stat: path=/tmp/write_utime stat: path=/tmp/write_utime
register: previous_time register: previous_time
- name: pause for 1 second to ensure the next touch is newer
pause: seconds=1
- name: touch file as nobody - name: touch file as nobody
file: dest=/tmp/write_utime state=touch file: dest=/tmp/write_utime state=touch
become: True become: True

Loading…
Cancel
Save