fix: increase coverage timeout from 300s to 900s for Gradle builds

Gradle --no-daemon on multi-module projects (e.g., eureka) needs cold
JVM startup + dependency resolution + compilation + test execution +
JaCoCo agent overhead, which exceeds 300s. At 300s the process is
killed mid-execution, producing partial results that the pipeline
can't use for behavioral baseline.

Ported from PR #2013 which validated 300s→600s→900s progression on
eureka (build takes ~10 min, 900s provides safe headroom).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mohamed Ashraf 2026-04-07 15:35:55 +00:00
parent 217544f99e
commit e658fb45af

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 = 300 if enable_coverage else 60
min_timeout = 900 if enable_coverage else 60
effective_timeout = max(timeout or 300, min_timeout)
if enable_coverage: