Build fails on test task

Description

When I try to compile, I get an error at the test task stage :

{{plugin.lsttokens.QualifyTokenTest > testRoundRobinFeatSpell FAILED
junit.framework.ComparisonFailure: Expected 0th unparsed item to be equal expected:<ABILITY=[Feat]|My Feat> but was:<ABILITY=[Don]|My Feat>
at junit.framework.Assert.assertEquals(Assert.java:100)
at junit.framework.TestCase.assertEquals(TestCase.java:261)
at plugin.lsttokens.testsupport.AbstractGlobalTokenTestCase.runRoundRobin(AbstractGlobalTokenTestCase.java:129)
at plugin.lsttokens.QualifyTokenTest.testRoundRobinFeatSpell(QualifyTokenTest.java:230)

plugin.lsttokens.QualifyTokenTest > testOverwrite FAILED
junit.framework.ComparisonFailure: Expected 0th unparsed item to be equal expected:<ABILITY=[Feat]|My Feat> but was:<ABILITY=[Don]|My Feat>}}

Environment

Debian stable
LANG=fr_FR.utf8

Activity

Show:
Vincent Hatakeyama
August 16, 2015, 11:34 PM
Edited
James Dempsey
August 17, 2015, 9:22 AM
Edited

The nightly build is working fine. Could there be a local difference that is causing this test to fail for you but not on both CI servers? Also, how up to date is your copy of the code?

Vincent Hatakeyama
August 17, 2015, 9:39 AM
Edited

I used the latest git version (yesterday evening, CEST time).

The error comes from the fact that the test is using a localized text rather than a non localized key. I’ve fixed the test then fixed the unparse method.

The CI probably uses an English locale, while the error only happens with other locale where in_feat is in the resource bundle (like the French one).

I wanted to do a pull request but I did bad thing on my github fork, that’s why I put a diff there.

James Dempsey
December 24, 2015, 4:46 AM

fixed this back in August 2015.

Assignee

Vincent Hatakeyama

Reporter

Vincent Hatakeyama

Labels

None

Theme

I18N

Epic/Theme

None

Pending User Input

No

Fix versions

Priority

Minor
Configure