summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-02-20 09:38:56 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-20 05:06:06 +0100
commit5e0e4ca462d2431c85e4c14d9cc90401d47296cc (patch)
tree89429f64b3c7df51b55dc385b8d55af0716d13ec /tests
parentdbaccf95532eec3a2b68a0cf5b4ba824ee084706 (diff)
Stabilize test.
Change-Id: I5b4c4298653186216e6e093ce3194cfde0cd51b9 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp b/tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp
index bf5c139730..07e744dc58 100644
--- a/tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp
+++ b/tests/auto/declarative/debugger/qdebugmessageservice/tst_qdebugmessageservice.cpp
@@ -208,8 +208,8 @@ void tst_QDebugMessageService::retrieveDebugOutput()
int maxTries = 2;
while ((m_client->logBuffer.size() < 2)
- && (maxTries-- > 0))
- QVERIFY(QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(debugOutput())));
+ || (maxTries-- > 0))
+ QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(debugOutput()), 1000);
QVERIFY(m_client->logBuffer.size() >= 2);
@@ -223,8 +223,8 @@ void tst_QDebugMessageService::retrieveDebugOutputExtended()
int maxTries = 2;
while ((m_client->logBuffer.size() < 2)
- && (maxTries-- > 0))
- QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(debugOutput()));
+ || (maxTries-- > 0))
+ QDeclarativeDebugTest::waitForSignal(m_client, SIGNAL(debugOutput()), 1000);
QVERIFY(m_client->logBuffer.size() >= 2);