[DirectoryWatcher][test] Relax test assumptions
authorJan Korous <jkorous@apple.com>
Mon, 15 Jul 2019 22:11:51 +0000 (22:11 +0000)
committerJan Korous <jkorous@apple.com>
Mon, 15 Jul 2019 22:11:51 +0000 (22:11 +0000)
commitc5e7a3d710097efbe86e73c6422d76744288b105
tree2254b8c1a11f248e90aa482de77b1e101ca0f3ad
parent5076038bb00dd5643cb4c0a881629126b359c828
[DirectoryWatcher][test] Relax test assumptions

Workaround for FSEvents sometimes sending notifications for events that happened
before DirectoryWatcher was created.

This caused tests to be flaky on green dragon.

llvm-svn: 366138
clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp