We do a sleep 2 and then expect to see a 2 second difference in the "newer file created" test, but sleep 2 does not necessarily achieve a 2 second file differences. Upping the sleep call to 3 seconds should ensure we see at least 2 seconds difference on operating systems like cygwin.
We do a sleep 2 and then expect to see a 2 second difference in the "newer file created" test, but sleep 2 does not necessarily achieve a 2 second file differences. Upping the sleep call to 3 seconds should ensure we see at least 2 seconds difference on operating systems like cygwin.