diff options
author | Robert Griebl <robert.griebl@qt.io> | 2024-03-02 22:25:04 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-03-05 12:32:36 +0000 |
commit | 38ee815979759e8e245b433c0f0600f71560947c (patch) | |
tree | fa39a0b1749fe1c552c5bbb8f29dd61344dac0c6 | |
parent | 32fe79125e96d5456a08b5a493daaa0e04ba4797 (diff) |
tests: stabilize the timing in the processtitle test
Change-Id: I44abbc1de658a60eab88ee195798f5c24f02b88d
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
(cherry picked from commit 3c6e83132c039908456a88b8e7a93d5d5305ae7e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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; |