Skip to content

Commit

Permalink
Speedup tst_qtimeline::finished
Browse files Browse the repository at this point in the history
Change-Id: Id9ae42663d8830365d4dcfab92b48621eb1b409f
Reviewed-by: Friedemann Kleint <[email protected]>
  • Loading branch information
nierob committed Dec 21, 2015
1 parent 6606b15 commit 8dd84c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/auto/corelib/tools/qtimeline/tst_qtimeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,8 @@ void tst_QTimeLine::finished()
QSignalSpy spy(&timeLine, &QTimeLine::finished);
QVERIFY(spy.isValid());
timeLine.start();
QTest::qWait(timeLine.duration()*2);
QTRY_COMPARE(spy.count(), 1);
QCOMPARE(timeLine.state(), QTimeLine::NotRunning);
QCOMPARE(spy.count(), 1);

spy.clear();
timeLine.start();
Expand Down

0 comments on commit 8dd84c6

Please sign in to comment.