diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2009-10-13 11:00:55 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2009-10-13 12:13:01 (GMT) |
commit | 8d9acba3ecac466fa86201e4eb760af1ccea68e3 (patch) | |
tree | a8dc1d72cc003f1a7ec65a3cde0bbed06e961e3e /tests/auto/qsslsocket | |
parent | 87a065002f9bc78b58c6f699ef52dda08045ad7c (diff) | |
download | Qt-8d9acba3ecac466fa86201e4eb760af1ccea68e3.zip Qt-8d9acba3ecac466fa86201e4eb760af1ccea68e3.tar.gz Qt-8d9acba3ecac466fa86201e4eb760af1ccea68e3.tar.bz2 |
stabilize QSslSocket autotest
there was a race condition which on Windows often made the test fail
Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/qsslsocket')
-rw-r--r-- | tests/auto/qsslsocket/tst_qsslsocket.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsslsocket/tst_qsslsocket.cpp b/tests/auto/qsslsocket/tst_qsslsocket.cpp index 77e3763..6efe440 100644 --- a/tests/auto/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp @@ -1377,6 +1377,7 @@ void tst_QSslSocket::waitForMinusOne() // connect to the server QSslSocket socket; + QTest::qSleep(100); socket.connectToHost("127.0.0.1", server.serverPort); QVERIFY(socket.waitForConnected(-1)); socket.ignoreSslErrors(); |