Increase the resolution for QDeadlineTimer unit test

Apparently, the CI can run something over 1000x slower than on my
machine. We're getting over 100 ms delays in operations that shouldn't
have taken more than half a millisecond. The last report was of 136%
over budget, so I multiplied the resolution by 4.

Change-Id: I9093948278414644a416fffd1474406967b2a6ee
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
bb10
Thiago Macieira 2016-09-14 10:23:19 -07:00
parent c30e62c775
commit 6ec86513dd
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
# include <chrono>
#endif
static const int minResolution = 100; // the minimum resolution for the tests
static const int minResolution = 400; // the minimum resolution for the tests
Q_DECLARE_METATYPE(Qt::TimerType)