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:
Mohamed Ashraf 2026-04-07 02:02:17 +00:00
parent 8bcc15e09d
commit 6c40422f6a

View file

@ -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: