summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-24 17:23:57 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-26 23:26:23 +0100
commit8b9a02537300507d21d58ac7d3db4fe1a2f2fe62 (patch)
treed268ae0a88a8f15e1450bdc00a46a40a293dcec3 /src
parent1fcb06f79aad556dc728b8aa1868156da8507c39 (diff)
Make QDeadlineTimer test more resilient against VM starvation
Flaky fails in this test suggest that the VM on which the test is executed does not get CPU resources allocated for enough time to make this test pass. This change makes the test more resilient by taking the measurements as quickly as possible. In addition, use a sanity-check based on std::chrono APIs to abort the test completely if we see that the clock has advanced too far to make the following tests meaningful. Change-Id: Ie6ac4ffb52f20e7774014f8222c9cd8f54d8a263 Fixes: QTBUG-64517 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions