From 215c78da617621d4301fd0f9e78a8873a3ef9a0e Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 29 Jul 2020 13:56:58 +0200 Subject: Fix TestApi::disappearedWildcardFile() ... for file systems with low timestamp resolution. Change-Id: Ie94543c229d912e79442399dbf095d9b77b8e1d4 Reviewed-by: Ivan Komissarov --- tests/auto/api/tst_api.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/auto/api/tst_api.cpp b/tests/auto/api/tst_api.cpp index 94b8da87e..9e0e9ee52 100644 --- a/tests/auto/api/tst_api.cpp +++ b/tests/auto/api/tst_api.cpp @@ -1126,6 +1126,7 @@ void TestApi::disappearedWildcardFile() QVERIFY(waitForFinished(buildJob.get())); VERIFY_NO_ERROR(buildJob->error()); + WAIT_FOR_NEW_TIMESTAMP(); const QString fileToRemove = QFileInfo(setupParams.projectFilePath()).path() + "/file2.txt"; QVERIFY(QFile::remove(fileToRemove)); buildJob.reset(project.buildAllProducts({})); -- cgit v1.2.3