aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetri Virkkunen <petri.virkkunen@qt.io>2025-07-29 10:45:31 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-09-16 01:49:51 +0000
commit24335a40a75a17d44003791f7f914f1f5e849b32 (patch)
treea04aa07e03e61f54c4ef67db7cb192608fca83ee
parent567b840f536739aefcf2f9c4a5dcc6eeab1edc7d (diff)
QQ4A: Reduce amount of spam calls in tst_signallistener
To avoid filling the JNI global reference table limit on the CI, reduce the amount of signals emitted during the tst_signallistener spam call testcases. Fixes: QTBUG-138104 Change-Id: Iaeefcbef6447586578f2cf2cc8dbfcb7f4536818 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 21543ca52d4f542b82d62636812af2dae1497196) (cherry picked from commit 52f05965412a7e847b32ac773a46f20ebf5d34a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/qtquickview/signallistener/android/qml/TestView.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/auto/qtquickview/signallistener/android/qml/TestView.qml b/tests/auto/qtquickview/signallistener/android/qml/TestView.qml
index d8912b8e71..09a49d1aa6 100644
--- a/tests/auto/qtquickview/signallistener/android/qml/TestView.qml
+++ b/tests/auto/qtquickview/signallistener/android/qml/TestView.qml
@@ -119,7 +119,7 @@ Item {
name: "spamSignaling"
when: windowShown
- readonly property int spam_count: 100000
+ readonly property int spam_count: 500
function init() { root.wipeSpies() }
@@ -129,7 +129,6 @@ Item {
}
function test_basic() {
- skip("QTBUG-138104 Global reference table overflow")
compare(basicSpy.count, 0)
for (let i = 0; i < spam_count; ++i) {
root.basicSignal()
@@ -140,7 +139,6 @@ Item {
}
function test_int() {
- skip("QTBUG-138104 Global reference table overflow")
const testVal = 123
compare(intSpy.count, 0)
for (let i = 0; i < spam_count; ++i) {
@@ -155,7 +153,6 @@ Item {
}
function test_bool() {
- skip("QTBUG-138104 Global reference table overflow")
const testVal = false
compare(boolSpy.count, 0)
for (let i = 0; i < spam_count; ++i) {
@@ -170,7 +167,6 @@ Item {
}
function test_double() {
- skip("QTBUG-138104 Global reference table overflow")
const testVal = 123.123
compare(doubleSpy.count, 0)
for (let i = 0; i < spam_count; ++i) {
@@ -185,7 +181,6 @@ Item {
}
function test_string() {
- skip("QTBUG-138104 Global reference table overflow")
const testVal = "Testing testing, is this thing on?"
compare(stringSpy.count, 0)
for (let i = 0; i < spam_count; ++i) {