[
https://issues.apache.org/jira/browse/HIVE-10033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370957#comment-14370957
]
Yi Zhou commented on HIVE-10033:
--------------------------------
For reproduce step:
mvn test -Dtest=TestWebHCatE2e#getStatus -Phadoop-2
> The unit test of TestWebHCatE2e.getStatus case got failure with JDK1.8
> ----------------------------------------------------------------------
>
> Key: HIVE-10033
> URL: https://issues.apache.org/jira/browse/HIVE-10033
> Project: Hive
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.14.0
> Reporter: Yi Zhou
>
> Running org.apache.hive.hcatalog.templeton.TestWebHCatE2e
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.385 sec <<<
> FAILURE! - in org.apache.hive.hcatalog.templeton.TestWebHCatE2e
> getStatus(org.apache.hive.hcatalog.templeton.TestWebHCatE2e) Time elapsed:
> 0.876 sec <<< FAILURE!
> junit.framework.ComparisonFailure: GET
> http://localhost:58283/templeton/v1/status?user.name=johndoe
> {"version":"v1","status":"ok"} expected:<{"[status":"ok","version":"v1]"}>
> but was:<{"[version":"v1","status":"ok]"}>
> at junit.framework.Assert.assertEquals(Assert.java:100)
> at
> org.apache.hive.hcatalog.templeton.TestWebHCatE2e.getStatus(TestWebHCatE2e.java:97)
> Results :
> Failed tests:
> TestWebHCatE2e.getStatus:97 GET
> http://localhost:58283/templeton/v1/status?user.name=johndoe
> {"version":"v1","status":"ok"} expected:<{"[status":"ok","version":"v1]"}>
> but was:<{"[version":"v1","status":"ok]"}>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)