From 7d75c72f97c0adc9363a71b6114bd40ed183ed6d Mon Sep 17 00:00:00 2001 From: ispyisail Date: Wed, 21 Oct 2026 21:43:26 +1300 Subject: [PATCH] tests: give tst_lazyfolios room for real ASan runtime Rows-only numbering reads cost roughly 2x master's wall-clock under ASan (~2065s measured solo on an idle machine, vs master's ~1038-1071s). Two timeouts were tight enough to fail on that legitimate cost alone: the script's own subprocess timeout and ctest's TIMEOUT property for the test. Raised both with real margin. Co-Authored-By: Claude Sonnet 5 --- tests/qttest/CMakeLists.txt | 2 +- tests/qttest/run_lazy_folios_probe.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qttest/CMakeLists.txt b/tests/qttest/CMakeLists.txt index 4ca44ded7..5cab5a5dd 100644 --- a/tests/qttest/CMakeLists.txt +++ b/tests/qttest/CMakeLists.txt @@ -92,7 +92,7 @@ if(Python3_Interpreter_FOUND AND CMAKE_GENERATOR STREQUAL "Ninja") --build ${CMAKE_BINARY_DIR} --binary $ --source ${CMAKE_CURRENT_SOURCE_DIR}/lazy_folios_probe.cpp --fixture ${CMAKE_CURRENT_SOURCE_DIR}/../../examples/industrial.qet) - set_tests_properties(tst_lazyfolios PROPERTIES TIMEOUT 1800 RUN_SERIAL TRUE + set_tests_properties(tst_lazyfolios PROPERTIES TIMEOUT 3000 RUN_SERIAL TRUE ENVIRONMENT "QT_QPA_PLATFORM=offscreen") # Deleting a cable, undoing the delete twice and then editing anything # has both cable commands tearing down the same cable. Runs under the diff --git a/tests/qttest/run_lazy_folios_probe.py b/tests/qttest/run_lazy_folios_probe.py index af41a0fcc..41a2503bc 100644 --- a/tests/qttest/run_lazy_folios_probe.py +++ b/tests/qttest/run_lazy_folios_probe.py @@ -54,7 +54,7 @@ subprocess.run([ninja, '-C', str(build), '-f', probe_manifest.name, target], che output = build / 'lazy-folios' output.mkdir(exist_ok=True) report = output / 'results.txt' -result = subprocess.run([str(probe_binary), str(fixture), str(report), str(output)], timeout=1500) +result = subprocess.run([str(probe_binary), str(fixture), str(report), str(output)], timeout=2400) if report.exists(): print(report.read_text(encoding='utf-8', errors='replace')) sys.exit(result.returncode)