summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-06 08:11:40 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-06 08:51:52 (GMT)
commit501d0fc639e7ec9b26a102eac857123d86215ccf (patch)
tree1cdd77d256fd99ed8c442a90761fda9251fccb34
parent2dc7fae7ea38a0169c4c5c78d0534d688347aacb (diff)
downloadQt-501d0fc639e7ec9b26a102eac857123d86215ccf.zip
Qt-501d0fc639e7ec9b26a102eac857123d86215ccf.tar.gz
Qt-501d0fc639e7ec9b26a102eac857123d86215ccf.tar.bz2
Increased tst_QSharedMemory::simpleProcessProducerConsumer timout.
Test fails sometimes in Symbian OS due to fact that lackey has not finished it's task in given time. Increase timeout to same value as used in waitForStarted statement. Reviewed-by: TrustMe
-rw-r--r--tests/auto/qsharedmemory/tst_qsharedmemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/qsharedmemory/tst_qsharedmemory.cpp
index db86c06..4ab3b0b 100644
--- a/tests/auto/qsharedmemory/tst_qsharedmemory.cpp
+++ b/tests/auto/qsharedmemory/tst_qsharedmemory.cpp
@@ -764,7 +764,7 @@ void tst_QSharedMemory::simpleProcessProducerConsumer()
bool consumerFailed = false;
while (!consumers.isEmpty()) {
- consumers.first()->waitForFinished(1000);
+ consumers.first()->waitForFinished(2000);
if (consumers.first()->state() == QProcess::Running ||
consumers.first()->exitStatus() != QProcess::NormalExit ||
consumers.first()->exitCode() != 0) {