[
https://issues.apache.org/jira/browse/HIVE-18186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272938#comment-16272938
]
Bertalan Kondrat commented on HIVE-18186:
-----------------------------------------
[~vihangk1] no, because this assert will never fail, but it should every time
when it reached.
probably the author wanted to write:
{code:java}
assertTrue("Exception not thrown", *false*);
{code}
instead of:
{code:java}
assertTrue("Exception not thrown", *true*);
{code}
> Fix wrong assertion in TestHiveMetaStoreAlterColumnPar test
> -----------------------------------------------------------
>
> Key: HIVE-18186
> URL: https://issues.apache.org/jira/browse/HIVE-18186
> Project: Hive
> Issue Type: Test
> Components: Test
> Reporter: Bertalan Kondrat
> Assignee: Bertalan Kondrat
> Priority: Minor
> Attachments: HIVE-18186.patch
>
>
> HIVE-17942 introduced new test {{TestHiveMetaStoreAlterColumnPar}}, but it
> uses wrong assertion, and this way it absorbs all exception.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)