summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/snippets/code/src_corelib_tools_qmap.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-12 17:50:44 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-02-12 22:16:26 +0100
commit67491e2df5357706dbf88ddaf1f030ff095b4528 (patch)
tree343fc2fc825da3a9db7273d7510cb0bcda415182 /src/corelib/doc/snippets/code/src_corelib_tools_qmap.cpp
parent5e83a2eed2dc42a732bd9154bebe8dcb34cd6bb5 (diff)
Detect double timer during single timeout in registerTimer test, and skip
We observe this happening on macOS in the CI system, and it might happen if a VM doesn't get CPU cycles for long enough time so that two timers time out. Then event processing will process two timer events, and we overwrite the timerIdFromEvent with the second event. Instead, skip the test when this happens. This is an ammendment to 5c520f4b0ad4b539dc0184c764ca9f12c98730d9 Change-Id: Ibc1169b5458c8dce9d4fe9ce715f49c396e17b86 Fixes: QTBUG-71751 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets/code/src_corelib_tools_qmap.cpp')
0 files changed, 0 insertions, 0 deletions