diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2021-07-13 14:21:01 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-07-23 19:48:59 +0200 |
| commit | 328f22561d1b8a798d94de95071a13165c3ba97b (patch) | |
| tree | f5750d29d657e20fef549637ee7f51cdf2584475 /src/concurrent/doc/snippets | |
| parent | ebae6e2041bcbe5b86fa13f779c952896e9c68d6 (diff) | |
Convert QLocalSocket benchmark to use QTestEventLoop
Now that this event loop pays attention to test failures, we can avoid
the time-outs that used to happen on test failure. Also check for
premature failures (but don't return early, so we can shut down the
server gracefully) and give the event-loops sensible time-outs.
Task-number: QTBUG-91713
Change-Id: Ib895a5fba0f22654c7fecf996f23649a4b5ce0de
Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com>
Diffstat (limited to 'src/concurrent/doc/snippets')
0 files changed, 0 insertions, 0 deletions
