diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-03-07 17:14:02 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-03-09 13:13:39 (GMT) |
commit | 81ab8365e53389936bcaff07c82a2891ec63c4e5 (patch) | |
tree | 31e076f5b233bc440a30df92d1c367c2501e4683 /tests | |
parent | 3d34e2e49399446b45a343dcff917afef748520b (diff) | |
download | Qt-81ab8365e53389936bcaff07c82a2891ec63c4e5.zip Qt-81ab8365e53389936bcaff07c82a2891ec63c4e5.tar.gz Qt-81ab8365e53389936bcaff07c82a2891ec63c4e5.tar.bz2 |
Reduce excessive timeout in tst_qtcpsocket
Timeout of 5000 seconds (which was probably intended to be 5000ms)
reduced to a more reasonable 60 seconds, to prevent the test from hanging
in case of errors in the proxy server.
Reviewed-by: Markus Goetz
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qtcpsocket/tst_qtcpsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp index b0ecbda..40ca531 100644 --- a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp +++ b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp @@ -1389,7 +1389,7 @@ void tst_QTcpSocket::flush() connect(socket, SIGNAL(connected()), SLOT(exitLoopSlot())); socket->connectToHost(QtNetworkSettings::serverName(), 143); - enterLoop(5000); + enterLoop(60); QVERIFY(socket->isOpen()); socket->write("1 LOGOUT\r\n"); |