summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-03-18 01:00:11 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-03-18 01:00:11 +0100
commitd58f3c4878b78699bd23507352a2f55881d9b76f (patch)
tree577e5fe415ed1741a7a6938451ba54bbbdcf1490 /tests/auto/testlib
parent6c7fff8c91d68912797fa84360ab374b858f44c4 (diff)
parentf6f40014c417aa90d4c805719e70910f522047e4 (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp b/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
index 3aef916c38..df241c030e 100644
--- a/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
+++ b/tests/auto/testlib/qsignalspy/tst_qsignalspy.cpp
@@ -259,8 +259,7 @@ void tst_QSignalSpy::wait_signalEmittedTooLate()
QTimer::singleShot(500, this, SIGNAL(sigFoo()));
QSignalSpy spy(this, SIGNAL(sigFoo()));
QVERIFY(!spy.wait(200));
- QTest::qWait(400);
- QCOMPARE(spy.count(), 1);
+ QTRY_COMPARE(spy.count(), 1);
}
void tst_QSignalSpy::wait_signalEmittedMultipleTimes()