fix: increase coverage timeout to 1200s for large Gradle --no-daemon builds

Gradle --no-daemon on multi-module projects forces a full JVM cold start
for every invocation. On eureka, configuration + dependency resolution
alone takes ~10 min before tests even start. 900s was still getting
killed at the boundary.

1200s (20 min) provides headroom for: cold Gradle startup (~10 min) +
test execution (~5 min) + JaCoCo overhead + safety margin.

PR #2013 iterated through 300→600→900s and found 900s sufficient only
when build caches were warm from prior invocations in the same session.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mohamed Ashraf 2026-04-07 16:13:06 +00:00
parent 389aa16f76
commit 5e2ef37f6f

View file

@ -526,7 +526,7 @@ def run_behavioral_tests(
if enable_coverage:
coverage_xml_path = strategy.setup_coverage(build_root, test_module, project_root)
min_timeout = 900 if enable_coverage else 60
min_timeout = 1200 if enable_coverage else 60
effective_timeout = max(timeout or 300, min_timeout)
if enable_coverage: