summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorSergio Ahumada <sahumada@blackberry.com>2014-03-20 17:47:25 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-27 08:21:23 +0100
commiteab7efd1ee0475fd331774ccc99ee92c816f588c (patch)
tree86b649db04cd204d3d2688f3875f5f6dae4821f7 /tests/auto/corelib
parent5ee07bf6919dda0c9a192adedc9fc4512b7bba36 (diff)
Stabilize tst_QProcess::softExitInSlots()
This test takes more than 5000ms to finish some times, so waiting for 10000ms should be enough to make it more stable on all platforms. ../tst_qprocess.cpp:1072 :: [gui app] QTestLib: This test case check ("proc.waitedForFinished") failed because the requested timeout (5000 ms) was too short, 6150 ms would have been sufficient this time. Change-Id: I266ad0e65bf3c84e73b7ca6543dc15335dad4c99 Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/io/qprocess/tst_qprocess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp
index f5aa2c2412..b67166272b 100644
--- a/tests/auto/corelib/io/qprocess/tst_qprocess.cpp
+++ b/tests/auto/corelib/io/qprocess/tst_qprocess.cpp
@@ -1069,7 +1069,7 @@ void tst_QProcess::softExitInSlots()
SoftExitProcess proc(i);
proc.writeAfterStart("OLEBOLE", 8); // include the \0
proc.start(appName);
- QTRY_VERIFY(proc.waitedForFinished);
+ QTRY_VERIFY_WITH_TIMEOUT(proc.waitedForFinished, 10000);
QCOMPARE(proc.state(), QProcess::NotRunning);
}
}