summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlocalsocket
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-11-25 09:30:52 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-11-25 09:30:52 (GMT)
commit6cb0ac70301a21e914cb5716642c756312b3ec30 (patch)
treef80cd9c64da9226d4199851b5719b1d386a4628a /tests/auto/qlocalsocket
parent426e3daa9ebca56650607189ce77aa98545805aa (diff)
downloadQt-6cb0ac70301a21e914cb5716642c756312b3ec30.zip
Qt-6cb0ac70301a21e914cb5716642c756312b3ec30.tar.gz
Qt-6cb0ac70301a21e914cb5716642c756312b3ec30.tar.bz2
Network auto tests: Some timeout increases
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qlocalsocket')
-rw-r--r--tests/auto/qlocalsocket/tst_qlocalsocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
index 5ead049..8cabadb 100644
--- a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
+++ b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
@@ -695,7 +695,7 @@ public:
|| socket.error() == QLocalSocket::ConnectionRefusedError)
&& tries < 1000);
if (tries == 0 && socket.state() != QLocalSocket::ConnectedState) {
- QVERIFY(socket.waitForConnected(3000));
+ QVERIFY(socket.waitForConnected(7000));
QVERIFY(socket.state() == QLocalSocket::ConnectedState);
}
@@ -725,7 +725,7 @@ public:
int done = clients;
while (done > 0) {
bool timedOut = true;
- QVERIFY(server.waitForNewConnection(3000, &timedOut));
+ QVERIFY(server.waitForNewConnection(7000, &timedOut));
QVERIFY(!timedOut);
QLocalSocket *serverSocket = server.nextPendingConnection();
QVERIFY(serverSocket);