falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Ly (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-1326) Test failed due to unix locale
Date Fri, 24 Jul 2015 09:38:04 GMT
Anthony Ly created FALCON-1326:
----------------------------------

             Summary: Test failed due to unix locale
                 Key: FALCON-1326
                 URL: https://issues.apache.org/jira/browse/FALCON-1326
             Project: Falcon
          Issue Type: Bug
          Components: build-tools, tests
    Affects Versions: 0.6.1
         Environment: CentOS 6.6, Maven 3.2.3, JDK 1.7.0_71
            Reporter: Anthony Ly
            Priority: Minor


Running instructions for building Falcon :

git clone https://git-wip-us.apache.org/repos/asf/falcon.git falcon
cd falcon
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m -noverify" && mvn clean install

On my centos causes a test failure because of the date format.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.oozie.extensions.TestOozieELExtensions
Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.117 sec <<< FAILURE!
- in org.apache.oozie.extensions.TestOozieELExtensions
testActionExpressions(org.apache.oozie.extensions.TestOozieELExtensions)  Time elapsed: 0.04
sec  <<< FAILURE!
java.lang.AssertionError: expected:<2009-Sep-02> but was:<2009-sept.-02>
        at org.testng.Assert.fail(Assert.java:89)
        at org.testng.Assert.failNotEquals(Assert.java:489)
        at org.testng.Assert.assertEquals(Assert.java:118)
        at org.testng.Assert.assertEquals(Assert.java:171)
        at org.testng.Assert.assertEquals(Assert.java:181)
        at org.apache.oozie.extensions.TestOozieELExtensions.testActionExpressions(TestOozieELExtensions.java:106)


Results :

Failed tests:
  TestOozieELExtensions.testActionExpressions:106 expected:<2009-Sep-02> but was:<2009-sept.-02>

Tests run: 12, Failures: 1, Errors: 0, Skipped: 0

I solved the problem setting LANG to 'en_US.utf8' instead of my 'fr_FR.utf8' but I think this
test can get the good format from system locale.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message