Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing tests due to translated errors #3202

Closed
grubeninspekteur opened this issue Feb 29, 2020 · 0 comments · Fixed by #3203
Closed

Failing tests due to translated errors #3202

grubeninspekteur opened this issue Feb 29, 2020 · 0 comments · Fixed by #3203
Milestone

Comments

@grubeninspekteur
Copy link
Contributor

grubeninspekteur commented Feb 29, 2020

Observed with commit id: e2b63be

14 tests fail for gradlew build on my machine (org.springframework.integration.config.xml.ChainElementsFailureTests and org.springframework.integration.file.config.ChainElementsTests) as they assert translated error messages:

org.opentest4j.AssertionFailedError: 
Expecting:
 <"cvc-complex-type.3.2.2: Attribut 'input-channel' darf nicht in Element 'int:aggregator' vorkommen.">
to be equal to:
 <"cvc-complex-type.3.2.2: Attribute 'input-channel' is not allowed to appear in element 'int:aggregator'.">
but was not.
...

The tests should set the default locale of the VM prior to execution.

grubeninspekteur added a commit to grubeninspekteur/spring-integration that referenced this issue Feb 29, 2020
Fixes spring-projects#3202

Set the locale to en-US for tests that assert error messages
artembilan pushed a commit that referenced this issue Mar 2, 2020
Fixes #3202

Set the locale to en-US for tests that assert error messages
@artembilan artembilan added this to the 5.3.M3 milestone Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants