diff options
author | Robert Griebl <robert.griebl@qt.io> | 2024-03-02 22:25:04 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2024-03-05 12:30:26 +0100 |
commit | 3c6e83132c039908456a88b8e7a93d5d5305ae7e (patch) | |
tree | 0f812cfc10bfa24d8d131b8f93ab29a4113847df /tests/auto | |
parent | 96e290e617e20127002ce3e3a5f151d128cc3189 (diff) |
tests: stabilize the timing in the processtitle test
Change-Id: I44abbc1de658a60eab88ee195798f5c24f02b88d
Pick-to: 6.7
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qml/processtitle/tst_processtitle.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/processtitle/tst_processtitle.qml b/tests/auto/qml/processtitle/tst_processtitle.qml index 6ab6dc23..b7ae66f3 100644 --- a/tests/auto/qml/processtitle/tst_processtitle.qml +++ b/tests/auto/qml/processtitle/tst_processtitle.qml @@ -51,7 +51,7 @@ TestCase { pid = match ? match[1] : 0 return pid }, spyTimeout); - wait(250 * AmTest.timeoutFactor); + wait(500 * AmTest.timeoutFactor); let cmdLine = AmTest.runProgram([ "cat", `/proc/${pid}/cmdline` ]).stdout.split('\0')[0] if (cmdLine.includes("/qemu-")) @@ -72,6 +72,7 @@ TestCase { compare(runStateChangedSpy.signalArguments[sigIdx][0], data.appId); compare(runStateChangedSpy.signalArguments[sigIdx][1], ApplicationObject.Running); + wait(500 * AmTest.timeoutFactor); processStatus.applicationId = data.appId; pid = processStatus.processId; |