Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0
-
None
-
35096261282bfb2d66373d290dfa35b993158bb8
Description
Consider the following test snippet:
QElapsedTimer timer; timer.start(); QTest::qWait(100); QCOMPARE(timer.elapsed(), 100);
When executing this test one gets:
FAIL! : [snip] Compared values are not the same Actual (timer.elapsed()): 99 Expected (100) : 100
This broke some auto tests we used in KDE and which used to pass when compiling against Qt 5.7. See for example: https://build.kde.org/view/Plasma/job/Plasma%20kdecoration%20kf5-qt5%20SUSEQt5.9/4/