qt5base-lts/tests/auto/network/socket/qtcpsocket
Mårten Nordheim 5a235da270 tst_QTcpSocket: fix disconnectWhileLookingUp
... and unblacklist it on Windows.

From what I can tell there is no particular reason why this test fails
other than that it is a little too slow sometimes (these things happen).

So, to fix the test I bumped the timeout, but to avoid the test running
for longer on every test-run it now also ends when the socket enters
the "Unconnected" state.

Previously it failed 171/500 times, and after this patch it failed
0/1000 times.

Change-Id: I4266bff6b91aaaf502ee66265d01c3a177706402
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
2017-11-24 04:54:58 +00:00
..
stressTest Fix some warnings in tests 2016-11-28 13:10:43 +00:00
test Merge remote-tracking branch 'origin/5.7' into dev 2016-06-21 08:39:41 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
BLACKLIST tst_QTcpSocket: fix disconnectWhileLookingUp 2017-11-24 04:54:58 +00:00
qtcpsocket.pro tst_QTcpSocket::suddenRemoteDisconnect - fix flakyness 2017-10-30 11:10:10 +00:00
tst_qtcpsocket.cpp tst_QTcpSocket: fix disconnectWhileLookingUp 2017-11-24 04:54:58 +00:00