summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-05-12 16:48:37 +0200
committerRobert Griebl <robert.griebl@qt.io>2022-05-17 20:13:35 +0200
commit534790d8d51ee6e46299c525e096c34303d5c4c7 (patch)
tree734779e3b5de57b6779ed3e8dbf744f58e08a88f
parente14b1081e247503e8f538a862e4e988ddcf22068 (diff)
downloadqtapplicationmanager-534790d8d51ee6e46299c525e096c34303d5c4c7.tar.gz
Speed up the tst_windowmapping test run
Change-Id: I3e82b224db6a4c3605c065132a015cee4f992865 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
-rw-r--r--tests/auto/qml/windowmapping/tst_windowmapping.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qml/windowmapping/tst_windowmapping.qml b/tests/auto/qml/windowmapping/tst_windowmapping.qml
index d48bf453..8466c0e6 100644
--- a/tests/auto/qml/windowmapping/tst_windowmapping.qml
+++ b/tests/auto/qml/windowmapping/tst_windowmapping.qml
@@ -116,10 +116,10 @@ TestCase {
numRunningApps += 1;
}
- if (numRunningApps > 0) {
- wait(2000 * AmTest.timeoutFactor);
- } else
+ if (numRunningApps == 0)
break;
+
+ wait(100);
}
windowAddedSpy.clear();