Skip to content

Retry MNG-4559 jvm.config ITs on sporadic Windows failure#12337

Open
gnodet wants to merge 1 commit into
apache:masterfrom
gnodet:similar-ziconium
Open

Retry MNG-4559 jvm.config ITs on sporadic Windows failure#12337
gnodet wants to merge 1 commit into
apache:masterfrom
gnodet:similar-ziconium

Conversation

@gnodet

@gnodet gnodet commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • On Windows CI, mvn.cmd parses .mvn/jvm.config via a temp file that for /f occasionally fails to read (likely antivirus or filesystem flush delay), leaving system properties as unresolved ${...} placeholders
  • Add a targeted retry in MavenITmng4559MultipleJvmArgsTest and MavenITmng4559SpacesInJvmOptsTest: if the first Maven execution produces unresolved properties, re-execute once before asserting
  • No-op on Linux/macOS since the retry path only triggers when properties contain ${...} placeholders

Test plan

  • Verify Windows CI passes consistently for both MNG-4559 tests
  • Verify Linux/macOS CI is unaffected (retry path never triggered)

🤖 Generated with Claude Code

On Windows CI, `mvn.cmd` parses `.mvn/jvm.config` via a temp file that
`for /f` occasionally fails to read (likely antivirus or filesystem
flush delay), leaving system properties unresolved. Add a targeted
retry in both tests: if the first execution produces unresolved
`${...}` placeholders, re-execute Maven once before asserting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added mvn4 build Pull requests that change the build process labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Pull requests that change the build process mvn4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant