diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2016-08-03 20:20:54 +0300 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2016-08-05 10:16:54 +0000 |
commit | 1ceee31ae0f552d128fa77be79c9be135f9c6972 (patch) | |
tree | e1b3ee129a7b4b986a43ea28638c12aeb35955d3 /tests/auto/corelib/io/qprocess/testBatFiles | |
parent | 4cb44c744c7d15658df79b801296b98fdc956336 (diff) |
Fix tst_QProcess::closeWriteChannel() under Windows
Sometimes, this test fails in CI due to notifications arriving
asynchronously from the OS. This happens inside closeWriteChannel()
call, where we are flushing the write buffer and I/O completion on
the read pipe could occur there as well. So, take this into account
before waiting for the new incoming data. Also, improve the checks
on successful reading and writing.
Change-Id: Iabe875fc346eb4420c72d03208d22ea861a570c6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'tests/auto/corelib/io/qprocess/testBatFiles')
0 files changed, 0 insertions, 0 deletions