mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
fix: increase coverage min_timeout to 900s for large Gradle projects
Eureka-core with --no-daemon takes ~10 min for cold startup + compilation + test execution. The 600s timeout was too tight — tests completed but Gradle was killed during shutdown. 900s provides sufficient buffer. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8bcc15e09d
commit
6c40422f6a
1 changed files with 2 additions and 2 deletions
|
|
@ -424,8 +424,8 @@ def run_behavioral_tests(
|
|||
coverage_xml_path = strategy.setup_coverage(build_root, test_module, project_root)
|
||||
|
||||
# Coverage runs use the build tool (not direct JVM), so Gradle --no-daemon cold startup +
|
||||
# compilation + test execution can take 5+ min on large multi-module projects.
|
||||
min_timeout = 600 if enable_coverage else 60
|
||||
# compilation + test execution can take 10+ min on large multi-module projects.
|
||||
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