From c366377fa6a6fb39679a2f5d4a2c5063e82c91b2 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Mon, 27 Feb 2012 16:16:29 +0100 Subject: test: Improved stability of tst_qsharedmemory Significantly increase waitForFinished() timeouts. Change-Id: I498408c756f2b46bf3870f40703e7c2f0d4ec9b5 Reviewed-by: Rohan McGovern --- tests/auto/qtipc/qsharedmemory/tst_qsharedmemory.cpp | 4 ++-- 1 file 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) { -- cgit v0.12