summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2015-11-01 17:18:38 +0100
committerYoann Lopes <yoann.lopes@theqtcompany.com>2016-01-06 15:20:55 +0000
commite8a75e225b2a710362dcfb04de8cc99849fa6f30 (patch)
treeb90a627c03159e82bff17396460727cf55213829 /tests/auto
parent4fcf153d688097f504d6ee454adfeecb7ec6bfd8 (diff)
Make qmediaplayerbackend::processEOS test less flaky.
Change-Id: Ib961f3d4e238a156dc2e1ade1828ae8f1bf5b755 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
index 261a316c7..eafc3d188 100644
--- a/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
+++ b/tests/auto/integration/qmediaplayerbackend/tst_qmediaplayerbackend.cpp
@@ -478,7 +478,7 @@ void tst_QMediaPlayerBackend::processEOS()
//position is reset to start
QTRY_VERIFY(player.position() < 100);
- QVERIFY(positionSpy.count() > 0);
+ QTRY_VERIFY(positionSpy.count() > 0);
QCOMPARE(positionSpy.first()[0].value<qint64>(), 0);
QCOMPARE(player.state(), QMediaPlayer::PlayingState);