[
https://issues.apache.org/jira/browse/OOZIE-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhu jin wei updated OOZIE-1084:
-------------------------------
Attachment: oozie-1084.patch
> When use IBM jdk , UT TestCallbackServlet and TestHadoopELFunctions fail
> --------------------------------------------------------------------------
>
> Key: OOZIE-1084
> URL: https://issues.apache.org/jira/browse/OOZIE-1084
> Project: Oozie
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.0, trunk
> Environment: IBM jdk 1.6
> Linux OS
> Reporter: zhu jin wei
> Labels: test
> Attachments: oozie-1084.patch
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> Test set: org.apache.oozie.servlet.TestCallbackServlet
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 24.419 sec
> <<< FAILURE!
> testCallbackGet(org.apache.oozie.servlet.TestCallbackServlet) Time elapsed:
> 22.273 sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<200> but was:<400>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at
> org.apache.oozie.servlet.TestCallbackServlet$1.call(TestCallbackServlet.java:58)
> at
> org.apache.oozie.servlet.TestCallbackServlet$1.call(TestCallbackServlet.java:40)
> at
> org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:93)
> at
> org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:66)
> at
> org.apache.oozie.servlet.TestCallbackServlet.testCallbackGet(TestCallbackServlet.java:40)
> testCallbackPost(org.apache.oozie.servlet.TestCallbackServlet) Time elapsed:
> 1.628 sec <<< FAILURE!
> junit.framework.AssertionFailedError: expected:<200> but was:<400>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:282)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:201)
> at junit.framework.Assert.assertEquals(Assert.java:207)
> at
> org.apache.oozie.servlet.TestCallbackServlet$2.call(TestCallbackServlet.java:100)
> at
> org.apache.oozie.servlet.TestCallbackServlet$2.call(TestCallbackServlet.java:67)
> at
> org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:93)
> at
> org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:66)
> at
> org.apache.oozie.servlet.TestCallbackServlet.testCallbackPost(TestCallbackServlet.java:67)
> -----------------------------------------------------------------------------------------------------
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.221 sec
> <<< FAILURE!
> testELFunctionsReturningPigStats(org.apache.oozie.action.hadoop.TestHadoopELFunctions)
> Time elapsed: 0.707 sec <<< FAILURE!
> junit.framework.ComparisonFailure:
> expected:<...MAP_INPUT_RECORDS":"33","MIN_REDUCE_TIME":"0","MULTI_STORE_COUNTERS":{},"ERROR_MESSAGE":null...>
> but
> was:<...ERROR_MESSAGE":null,"MIN_REDUCE_TIME":"0","MAP_INPUT_RECORDS":"33","MULTI_STORE_COUNTERS":{}...>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at junit.framework.Assert.assertEquals(Assert.java:87)
> at
> org.apache.oozie.action.hadoop.TestHadoopELFunctions.testELFunctionsReturningPigStats(TestHadoopELFunctions.java:119)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira