summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-06 08:11:40 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-10-07 02:36:12 (GMT)
commit6dab18ed219aec5e83ee3feb1aa8e8f2df1fd3d7 (patch)
tree33e1a0dc6c60d17a46da2427937218204270c1d5
parent5bab2186dd61a4cab97c81e4ce5a71a4e7acca07 (diff)
downloadQt-6dab18ed219aec5e83ee3feb1aa8e8f2df1fd3d7.zip
Qt-6dab18ed219aec5e83ee3feb1aa8e8f2df1fd3d7.tar.gz
Qt-6dab18ed219aec5e83ee3feb1aa8e8f2df1fd3d7.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 (cherry picked from commit 501d0fc639e7ec9b26a102eac857123d86215ccf)
-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) {