qt5base-lts/tests/auto/xml/sax/qxmlsimplereader
Timur Pocheptsov 28937559b1 tst_qxmlsimplereader::inputFromSocket - fix race condition(s)
This test was failing recently on Windows 7, mingw, x86. It's not
failing now and attempts to reproduce the failure on CI's VM were
unsuccessful. Anyway, just reading the code is enough to spot
race-conditions: two threads are accessing two shared boolean
variables without any protection.

It's unclear if these races were the reason why the test was failing,
but we fix them for good anyway. Also, a failure to start a thread
or to start listening on a TCP socket is not treated as XML-related
failure anymore and QSKIPped instead.

Change-Id: I5115ce6c33cafc91485f8cf6e7e268d954976556
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-11-06 19:14:41 +00:00
..
encodings
parser Updated license headers 2016-01-21 18:55:18 +00:00
xmldocs Remove exec bits from files that should not be executable 2015-06-07 22:50:19 +00:00
.gitattributes
.gitignore
generate_ref_files.sh Updated license headers 2016-01-21 18:55:18 +00:00
qxmlsimplereader.pro tests: Make the QT assignments more explicit 2013-08-21 19:05:52 +02:00
tst_qxmlsimplereader.cpp tst_qxmlsimplereader::inputFromSocket - fix race condition(s) 2017-11-06 19:14:41 +00:00