From 6ec86513ddbc19cd988878c8431c47820f68a00e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 14 Sep 2016 10:23:19 -0700 Subject: 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 --- tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/corelib') 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 #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) -- cgit v1.2.3