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>
bb10
parent
5ee07bf691
commit
eab7efd1ee
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue