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
parent
c30e62c775
commit
6ec86513dd
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue