Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.0.1
-
None
-
None
Description
Tests check for exception messages that are locale-dependent, so they fail when system locale is not en_US.
Relevant code:
Assert.assertEquals("java.io.FileNotFoundException: /path/does/not/exist " +
"(No such file or directory)", ex.getMessage().startsWith(""));
Exception:
testMissingKeyStorePasswordFile(org.apache.flume.channel.file.encryption.TestFileChannelEncryption) Time elapsed: 2 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<.../does/not/exist (No [such file or directory])> but was:<.../does/not/exist (No [existe el archivo o el directorio])>
at org.junit.Assert.assertEquals(Assert.java:125)
at org.junit.Assert.assertEquals(Assert.java:147)
at org.apache.flume.channel.file.encryption.TestFileChannelEncryption.testMissingKeyStorePasswordFile(TestFileChannelEncryption.java:325)