Skip to content

Conversation

@findepi
Copy link
Member

@findepi findepi commented Mar 18, 2024

Tests must not depend on the system locale. It is expected that tests pass on every machine and that locale is fixed, if needed, on maven level. While Trino sets en_US (via air.test.language, air.test.region), set environment to something else to ensure the environment has no effect when undesired.

Relates to #21136

Tests must not depend on the system locale. It is expected that tests
pass on every machine and that locale is fixed, if needed, on maven
level.  While Trino sets en_US (via air.test.language, air.test.region),
set environment to something else to ensure the environment has no
effect when undesired.
@findepi findepi marked this pull request as draft March 18, 2024 15:44
@cla-bot cla-bot bot added the cla-signed label Mar 18, 2024
@findepi
Copy link
Member Author

findepi commented Mar 18, 2024

As should be expected. No tests failed, but it doesn't mean there isn't a problem.
Tests run with fix locale (via air.test.language, air.test.region).

I think we could also run server with fixed locale, to force server into scope that's tested & guaranteed to work.

@trinodb/maintainers thoughts?

@wendigo
Copy link
Contributor

wendigo commented Mar 18, 2024

@findepi maybe we can assign some predefined list of locales in a round robin fashion to different jobs?

@findepi findepi closed this Mar 19, 2024
@findepi findepi deleted the findepi/ci-locale branch March 19, 2024 09:55
@findepi findepi restored the findepi/ci-locale branch March 19, 2024 09:55
@findepi findepi reopened this Mar 19, 2024
@findepi findepi closed this Mar 19, 2024
@findepi findepi deleted the findepi/ci-locale branch March 19, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants