diff options
Diffstat (limited to 'tests/auto/qml/crash/tst_crash.qml')
-rw-r--r-- | tests/auto/qml/crash/tst_crash.qml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/qml/crash/tst_crash.qml b/tests/auto/qml/crash/tst_crash.qml index cc7f42d2..21d1f56f 100644 --- a/tests/auto/qml/crash/tst_crash.qml +++ b/tests/auto/qml/crash/tst_crash.qml @@ -38,6 +38,7 @@ TestCase { when: windowShown name: "Crashtest" + property int spyTimeout: 3000 * AmTest.timeoutFactor property string appId: "tld.test.crash" property var app: ApplicationManager.application(appId); @@ -64,11 +65,11 @@ TestCase { function test_crash(data) { ApplicationManager.startApplication(appId); - runStateChangedSpy.wait(3000); - runStateChangedSpy.wait(3000); + runStateChangedSpy.wait(spyTimeout); + runStateChangedSpy.wait(spyTimeout); compare(app.runState, ApplicationObject.Running); ApplicationManager.startApplication(appId, data.tag); - runStateChangedSpy.wait(3000); + runStateChangedSpy.wait(spyTimeout); compare(app.runState, ApplicationObject.NotRunning); if (data.tag === "gracefully") { compare(app.lastExitStatus, ApplicationObject.NormalExit); |