add pause to make test more stable (#51680)

pull/51683/head
Jordan Borean 7 years ago committed by GitHub
parent 2119fedf4d
commit ebc9e4caf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save