Skip to content

Conversation

@ezwiebel
Copy link
Contributor

When running XmlParser tests on a non English environment, the expected exception messages don't match:

[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   XmlParserTest.testParsingInvalidXmlFormatFails:41 
     Expected: "Failed to parse file 'path': Content is not allowed in prolog."
     but: was "Failed to parse file 'path': Contenu non autorisé dans le prologue."
[INFO] 
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0

For reproducibility purposes on all types of environment, we can simply force English locale for surefire tests execution in order to prevent false failures.

@kaklakariada kaklakariada enabled auto-merge (squash) December 13, 2025 09:45
@kaklakariada kaklakariada merged commit a8bf38a into itsallcode:main Dec 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants