diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-09 20:29:20 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-04-09 20:29:20 (GMT) |
commit | 698c7a45d156e9f85afb870ffcd5b99d08d8677b (patch) | |
tree | 94d354bc6a75b54f26f917319c62e70224e88a39 /tests/auto/qsocks5socketengine | |
parent | 587f4325850615392e99881e060121bd5ea85360 (diff) | |
parent | cd5bfb680ce61d4cbe6081664494ee1046fce69a (diff) | |
download | Qt-698c7a45d156e9f85afb870ffcd5b99d08d8677b.zip Qt-698c7a45d156e9f85afb870ffcd5b99d08d8677b.tar.gz Qt-698c7a45d156e9f85afb870ffcd5b99d08d8677b.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Autotest: same as previous commit
Autotest: fix network test failure
Diffstat (limited to 'tests/auto/qsocks5socketengine')
-rw-r--r-- | tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp b/tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp index 0240a0e..a679765 100644 --- a/tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp +++ b/tests/auto/qsocks5socketengine/tst_qsocks5socketengine.cpp @@ -647,7 +647,8 @@ void tst_QSocks5SocketEngine::tcpSocketNonBlockingTest() // Connect socket.connectToHost(QtNetworkSettings::serverName(), 143); - QCOMPARE(socket.state(), QTcpSocket::HostLookupState); + QVERIFY(socket.state() == QTcpSocket::HostLookupState || + socket.state() == QTcpSocket::ConnectingState); QTestEventLoop::instance().enterLoop(30); if (QTestEventLoop::instance().timeout()) { |