diff --git a/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp b/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp --- a/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp +++ b/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp @@ -243,7 +243,7 @@ std::thread worker(std::move(task)); worker.detach(); - EXPECT_TRUE(WaitForExpectedStateResult.wait_for(std::chrono::seconds(3)) == + EXPECT_TRUE(WaitForExpectedStateResult.wait_for(std::chrono::seconds(60)) == std::future_status::ready) << "The expected result state wasn't reached before the time-out."; std::unique_lock L(TestConsumer.Mtx);