diff options
author | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-03-17 12:44:38 +0100 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-03-24 15:54:16 +0100 |
commit | 67cab3e01d4d26f95af2e202ad3fd16722b1c6c7 (patch) | |
tree | 9845712640069242561272cdeb02b3d755b8953e | |
parent | 50e8ddcbf7a76611cd4d169a43047ccff72f7d2d (diff) |
tst_QMediaObject: Remove checking of expected elapsed time
It is often failed on CI when no enough resources.
Task-number: QTBUG-82582
Change-Id: Ibcddab73e6dfd24c3ab064ed8ea89843ebdc92ea
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit d5d42a24b5b9d2079d584defac70aef1a1feadef)
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
-rw-r--r-- | tests/auto/unit/qmediaobject/tst_qmediaobject.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/unit/qmediaobject/tst_qmediaobject.cpp b/tests/auto/unit/qmediaobject/tst_qmediaobject.cpp index d2b43c56d..f1d5cc327 100644 --- a/tests/auto/unit/qmediaobject/tst_qmediaobject.cpp +++ b/tests/auto/unit/qmediaobject/tst_qmediaobject.cpp @@ -297,10 +297,6 @@ void tst_QMediaObject::notifySignals() timer.start(); QTRY_COMPARE(spy.count(), count); - - qint64 elapsed = timer.elapsed(); - int expectedElapsed = count * interval * 1.5; // give it some margin of error - QVERIFY2(elapsed < expectedElapsed, QString("elapsed: %1, expected: %2").arg(elapsed).arg(expectedElapsed).toLocal8Bit().constData()); } void tst_QMediaObject::notifyInterval_data() |