diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-03-29 09:24:24 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-03-31 11:32:45 +0200 |
commit | 1cc1d39f3e703d73942c4259fdc29d0828330960 (patch) | |
tree | e05de1bfa7017e49f7ccaf67b2c7dd1620ec4b06 /src/plugins/platforms/winrt/qwinrtbackingstore.cpp | |
parent | eb260c132a5e318be19bba82e2bd23cb72e67bfb (diff) |
tst_QThreadPool: reduce the number of infinite timeouts
... by supplying a TestThreadPool that waitsForDone() with a defined
timeout in the dtor.
When tests hang, this will now print an intelligible message instead
of just the generic watchdog-killed-process one.
Also replace all QVERIFY(waitForDone()) with the same code used in
TestThreadPool's dtor and add a comment in a place we'd rather not use
these tools.
Pick-to: 6.5 6.2
Change-Id: Ifd2b3372eb7c7337a3ba77d003e45dcd77e23545
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtbackingstore.cpp')
0 files changed, 0 insertions, 0 deletions