From d3763908e741d9d675d9967e2531dfd195ca03ba Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 22 Jan 2015 21:20:49 -0500 Subject: [PATCH] Added longer sleep to show how big an issue this can be. --- test/lib/BackRestTest/BackupTest.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lib/BackRestTest/BackupTest.pm b/test/lib/BackRestTest/BackupTest.pm index 14d523695..ef7e29423 100755 --- a/test/lib/BackRestTest/BackupTest.pm +++ b/test/lib/BackRestTest/BackupTest.pm @@ -1716,6 +1716,9 @@ sub BackRestTestBackup_Test &log(INFO, "rsync 1st time"); BackRestTestCommon_Execute($strCommand, false, false, true); + # Sleep for a while to show there is a large window where this can happen + sleep(.9); + # Modify the test file within the same second &log(INFO, "modify test file"); BackRestTestCommon_FileCreate("${strPathRsync1}/test.txt", 'TEST2');