qt5base-lts/tests/auto/network/socket/qtcpsocket
Shane Kearns 002cb5d2c8 Fix unstable test case
tst_QTcpSocket::disconnectWhileLookingUp required the host lookup +
connect + disconnect procedure to complete in <50ms, which is not always
true.
When disconnecting (rather than aborting with close()), wait for the
disconnection to complete with a timeout of 5 seconds.

Task-number: QTBUG-21043
Change-Id: I3b59abf9a8eb2c6d99416e1a8ec6b528885b656e
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2011-12-09 12:25:14 +01:00
..
stressTest Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
test Fix unstable test case 2011-12-09 12:25:14 +01:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
qtcpsocket.pro Remove Symbian-specific code from tests. 2011-09-29 06:41:42 +02:00
tst_qtcpsocket.cpp Fix unstable test case 2011-12-09 12:25:14 +01:00