path: root/tests
diff options
authorThiago Macieira <>2016-09-14 10:23:19 -0700
committerThiago Macieira <>2016-10-26 03:16:26 +0000
commit6ec86513ddbc19cd988878c8431c47820f68a00e (patch)
tree916de78803fc65ae44b26a80b5aba5502dffff46 /tests
parentc30e62c7750b804bfe6f3ed29914ebb42890230d (diff)
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 <>
Diffstat (limited to 'tests')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp b/tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp
index 7642604cfe..6ab24d2480 100644
--- a/tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp
+++ b/tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp
@@ -35,7 +35,7 @@
# include <chrono>
-static const int minResolution = 100; // the minimum resolution for the tests
+static const int minResolution = 400; // the minimum resolution for the tests