summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/tst_blackboxqt.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-29 17:35:31 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-29 15:51:32 +0000
commitf0c28b38f40057d334e1cbf77916462267147369 (patch)
treed0e5488d95fc50c35cfbe0ce242f95caef0afaa7 /tests/auto/blackbox/tst_blackboxqt.cpp
parent70c5b3abf439a288219efd147c5c37aeafd6ea3a (diff)
downloadqbs-f0c28b38f40057d334e1cbf77916462267147369.tar.gz
Autotests: Prevent another false positive on slow CI machines
Change-Id: Id35b1843da772f703f1b2cb60487f9513c0a8efc Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxqt.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxqt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxqt.cpp b/tests/auto/blackbox/tst_blackboxqt.cpp
index 46f9d2e21..cd3239be7 100644
--- a/tests/auto/blackbox/tst_blackboxqt.cpp
+++ b/tests/auto/blackbox/tst_blackboxqt.cpp
@@ -377,6 +377,7 @@ void TestBlackboxQt::track_qrc()
f.write("bla");
f.close();
}
+ waitForFileUnlock();
QCOMPARE(runQbs(QbsRunParameters("run")), 0);
QVERIFY(regularFileExists(fileName));
QVERIFY(dt < QFileInfo(fileName).lastModified());