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

some of the tests are LANG sensitive #4

Closed
peutch opened this issue Jun 1, 2021 · 2 comments
Closed

some of the tests are LANG sensitive #4

peutch opened this issue Jun 1, 2021 · 2 comments

Comments

@peutch
Copy link
Contributor

peutch commented Jun 1, 2021

Hi,

Here is what I got using my default LANG=fr_FR.UTF-8:

[ERROR] Failures: 
[ERROR]   ProcessHelperTest.testExecArrayWithExceptions:52 expected: <true> but was: <false>
[ERROR]   ProcessHelperTest.testExecSimple:26 expected: <true> but was: <false>
[ERROR]   ProcessHelperTest.testExecSimpleWithExceptions:39 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testNominalESConfig:196 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testNominalGrafanaConfig:165 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testNominalSparkConfig:129 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testServiceWithoutConfig:227 expected: <true> but was: <false>
[ERROR]   SSHCommandServiceTest.testRunSSHCommandStdErr:118 expected: <true> but was: <false>
[ERROR]   SSHCommandServiceTest.testRunSSHScriptErr:160 expected: <bash: line 1: /bin/tada: No such file or directory
> but was: <bash: ligne 1: /bin/tada: Aucun fichier ou dossier de ce type
>
[INFO] 
[ERROR] Tests run: 584, Failures: 9, Errors: 0, Skipped: 0

But when using 'LANG=C mvn clean install', I still got:

[ERROR] Failures: 
[ERROR]   SettingsInjectorTest.testNominalESConfig:196 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testNominalGrafanaConfig:165 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testNominalSparkConfig:129 expected: <true> but was: <false>
[ERROR]   SettingsInjectorTest.testServiceWithoutConfig:227 expected: <true> but was: <false>
[INFO] 
[ERROR] Tests run: 584, Failures: 4, Errors: 0, Skipped: 0

How to solve these?

Thanks!

@badtrash
Copy link
Member

Dear Peutch,
I am slowly coming back to this project after quite a long break.
Let me come back to you on that one shortly.

@badtrash badtrash closed this as completed Jun 3, 2022
@badtrash
Copy link
Member

badtrash commented Jun 3, 2022

Resolved by next commit to come tonight

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

No branches or pull requests

2 participants