qt5base-lts/tests/auto/xml
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
..
dom Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-29 00:38:01 +02:00
sax tst_qxmlsimplereader::inputFromSocket - fix race condition(s) 2017-11-06 19:14:41 +00:00
xml.pro Moved xml autotests into new directory structure 2011-09-06 10:31:40 +02:00