mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
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:
parent
217544f99e
commit
e658fb45af
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue