summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-03-17 12:44:38 +0100
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-03-23 14:42:33 +0100
commitd5d42a24b5b9d2079d584defac70aef1a1feadef (patch)
treeb252625527b92d85ee1613eaa610c15d4ff818a5 /tests
parentbf7d0fe2edf15ab78b984d447f04f93f93e3740a (diff)
tst_QMediaObject: Remove checking of expected elapsed time
It is often failed on CI when no enough resources. Pick-to: 5.12 5.14 5.15 Task-number: QTBUG-82582 Change-Id: Ibcddab73e6dfd24c3ab064ed8ea89843ebdc92ea Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/unit/qmediaobject/tst_qmediaobject.cpp4
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 bf8704162..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 * 3; // 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()