From: Michael Brasser Date: Thu, 10 Nov 2011 05:59:50 +0000 (+1000) Subject: Stabilize debug client test. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=90fdbb0433abbe2712174ac2fdb7026ec182abbb;p=konrad%2Fqtdeclarative.git Stabilize debug client test. Change-Id: I1f43d754b618ef44a26b749c279fced6636358f8 Reviewed-by: Kai Koehne --- diff --git a/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp b/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp index 1587eee..82e2559 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");