Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Make ProjectUpdateActionsIntegrationTest more robust #1903

Open
katmatt opened this issue Apr 8, 2019 · 0 comments
Open

Make ProjectUpdateActionsIntegrationTest more robust #1903

katmatt opened this issue Apr 8, 2019 · 0 comments

Comments

@katmatt
Copy link
Contributor

katmatt commented Apr 8, 2019

One of our integration tests failed with the following error:

FAILURE! - in io.sphere.sdk.sequencegenerators.BigIntegerNumberGeneratorIntegrationTest
checkNumbersBiggerThanLongMax(io.sphere.sdk.sequencegenerators.BigIntegerNumberGeneratorIntegrationTest)  Time elapsed: 1.252 sec  <<< FAILURE!
java.lang.AssertionError: 
[tests will fail if the project has not the correct language settings] 
Expecting:
 <["fr-FR"]>
to contain:
 <["de", "de-AT", "en"]>
but could not find:
 <["de", "de-AT", "en"]>

And this can happen when the ProjectUpdateActionsIntegrationTest fails, because it changes the project locale to FR.
We should make sure that this test rolls back all changes it does, so that it easier to find the root cause.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant