diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-03-10 15:34:19 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-03-12 02:27:04 +0100 |
commit | e9ae7cf31ff304150692d470ef914ec4d08c818e (patch) | |
tree | 3c9c69421e162e847289967307a5c2f5effa7e6d /header.GPL | |
parent | cf925913486f83d2556308d2f9e545a36abb6fa4 (diff) |
TCP socket auto-test: reduce flakyness
increaseReadBufferSize has several cases, surprisingly, subsequent
runs can be affected by close notification from the previous tests,
and then they ... break the expected logic test (by resetting
read buffer size and trying to read as much as possible).
Ah, and as it often happens with our auto-test - a client
socket leaked if some of COMPARE/VERIFY failed. unique_ptr
to rescue.
Fixes: QTBUG-82776
Change-Id: I9dc79072fdefc08417274dc341b88fca70c54dae
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'header.GPL')
0 files changed, 0 insertions, 0 deletions