summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2016-12-08 23:35:52 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2016-12-08 23:35:52 (GMT)
commit964e3eb2e541ee5168734ef1ea1507799539b173 (patch)
treedf6fc0d46c1f75eea9ae9af23f09e02a01117f49
parentecf54e42035e7c96a0c0a435ba01d1b3483d032a (diff)
Test: Be really patient
just to make sure it's not the machine being slow and it's the test that actually is failing
-rw-r--r--autotests/mainshelltest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/mainshelltest.cpp b/autotests/mainshelltest.cpp
index f094fe2..d60770d 100644
--- a/autotests/mainshelltest.cpp
+++ b/autotests/mainshelltest.cpp
@@ -309,7 +309,7 @@ void MainShellTest::testShell()
if (useTabs || unique)
{
// It is attaching to us, so will eventually stop
- QTRY_COMPARE_WITH_TIMEOUT(p.state(), QProcess::NotRunning, 2000);
+ QTRY_COMPARE_WITH_TIMEOUT(p.state(), QProcess::NotRunning, 20000);
QCOMPARE(p.exitStatus(), QProcess::NormalExit);
QCOMPARE(p.exitCode(), 0);
@@ -442,7 +442,7 @@ void MainShellTest::testFileRemembersPagePosition()
QCOMPARE(p.state(), QProcess::Running);
// It is attaching to us, so will eventually stop
- QTRY_COMPARE_WITH_TIMEOUT((int)p.state(), (int)QProcess::NotRunning, 2000);
+ QTRY_COMPARE_WITH_TIMEOUT((int)p.state(), (int)QProcess::NotRunning, 20000);
QCOMPARE((int)p.exitStatus(), (int)QProcess::NormalExit);
QCOMPARE(p.exitCode(), 0);
}