aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2011-11-10 15:59:50 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-11 06:43:47 +0100
commit90fdbb0433abbe2712174ac2fdb7026ec182abbb (patch)
tree28ac44349625acd231d2a26df62e26640985e247 /tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
parenta648b2f7a8a7be671c8928df3884086c84b8bc94 (diff)
Stabilize debug client test.
Change-Id: I1f43d754b618ef44a26b749c279fced6636358f8 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp b/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
index 1587eee060..82e25598e9 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
@@ -162,7 +162,7 @@ void tst_QDeclarativeDebugClient::sequentialConnect()
QCOMPARE(m_conn->state(), QAbstractSocket::UnconnectedState);
// Make sure that the disconnect is actually delivered to the server
- QGuiApplication::processEvents();
+ QTest::qWait(100);
connection2.connectToHost("127.0.0.1", PORT);
QTest::ignoreMessage(QtWarningMsg, "QDeclarativeDebugServer: Connection established");