diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2012-02-27 15:16:29 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-28 01:05:40 (GMT) |
commit | c366377fa6a6fb39679a2f5d4a2c5063e82c91b2 (patch) | |
tree | c5d6b535774aa677362a765368648fe63dd70fe8 /tests/auto/qtipc | |
parent | 9eb8fd324e8ab3adfcea4db1e1f2f139ec2ec443 (diff) | |
download | Qt-c366377fa6a6fb39679a2f5d4a2c5063e82c91b2.zip Qt-c366377fa6a6fb39679a2f5d4a2c5063e82c91b2.tar.gz Qt-c366377fa6a6fb39679a2f5d4a2c5063e82c91b2.tar.bz2 |
test: Improved stability of tst_qsharedmemory
Significantly increase waitForFinished() timeouts.
Change-Id: I498408c756f2b46bf3870f40703e7c2f0d4ec9b5
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/qtipc')
-rw-r--r-- | tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp index 5618f43..53cfeae 100644 --- a/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp +++ b/tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp @@ -785,12 +785,12 @@ void tst_QSharedMemory::simpleProcessProducerConsumer() ++failedProcesses; } - QVERIFY(producer.waitForFinished(5000)); + QVERIFY(producer.waitForFinished()); bool consumerFailed = false; while (!consumers.isEmpty()) { - QVERIFY(consumers.first()->waitForFinished(3000)); + QVERIFY(consumers.first()->waitForFinished()); if (consumers.first()->state() == QProcess::Running || consumers.first()->exitStatus() != QProcess::NormalExit || consumers.first()->exitCode() != 0) { |