hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12213) Investigating the test failure TestHCatClient.testTableSchemaPropagation
Date Tue, 20 Oct 2015 15:03:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965232#comment-14965232
] 

Aihua Xu commented on HIVE-12213:
---------------------------------

And also, in TestHCatClient.java, the parameters for assertEquals should be {{assertEquals(String
message, Object expected, Object actual)}}. Seems in many places, we put actual value to be
first and expected value to the second. Can you also update that as well?

> Investigating the test failure TestHCatClient.testTableSchemaPropagation
> ------------------------------------------------------------------------
>
>                 Key: HIVE-12213
>                 URL: https://issues.apache.org/jira/browse/HIVE-12213
>             Project: Hive
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 2.0.0
>            Reporter: Aihua Xu
>            Assignee: Aleksei S
>            Priority: Minor
>         Attachments: HIVE-12213.patch
>
>
> The test has been failing for some time with following error.
> {noformat}
> Error Message
> Table after deserialization should have been identical to sourceTable. expected:<[TABLE_PROPERTIES]>
but was:<[]>
> Stacktrace
> java.lang.AssertionError: Table after deserialization should have been identical to sourceTable.
expected:<[TABLE_PROPERTIES]> but was:<[]>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation(TestHCatClient.java:1065)
> {noformat}



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

Mime
View raw message