qt5base-lts/tests/auto/corelib/io/qfilesystemwatcher
Bradley T. Hughes 2193df65a3 Fix tst_QFileSystemWatcher failure on Mac OS X
The watchFileAndItsDirectory() test would fail due to atime updates for
the first watched file coming up to 2 seconds after the file was closed.
Observation shows that the atime has a 2 second resolution on Mac OS X
using HFS+, so add an appropriate delay to make sure that the atime
update from the kqueue based file system watcher can dispatch all
updates.

Task-number: QTBUG-22744
Change-Id: Ie79af20d6b4c154021307c8a8f6d336369720337
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2012-02-17 05:25:26 +01:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qfilesystemwatcher.pro Fix tst_QFileSystemWatcher failure on Mac OS X 2012-02-17 05:25:26 +01:00
tst_qfilesystemwatcher.cpp Fix tst_QFileSystemWatcher failure on Mac OS X 2012-02-17 05:25:26 +01:00