diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-02-12 17:50:44 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-02-12 22:16:26 +0100 |
commit | 67491e2df5357706dbf88ddaf1f030ff095b4528 (patch) | |
tree | 343fc2fc825da3a9db7273d7510cb0bcda415182 /src/gui/image/qimage.cpp | |
parent | 5e83a2eed2dc42a732bd9154bebe8dcb34cd6bb5 (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/gui/image/qimage.cpp')
0 files changed, 0 insertions, 0 deletions