hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17895) TestAsyncProcess#testAction fails if unsafe support is false
Date Tue, 11 Apr 2017 06:49:41 GMT

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

Chia-Ping Tsai commented on HBASE-17895:
----------------------------------------

[~AShiou] Would you please use the "git format-patch" to create your patch?
It helps Github link this contribution to your account.

Thanks.

> TestAsyncProcess#testAction fails if unsafe support is false
> ------------------------------------------------------------
>
>                 Key: HBASE-17895
>                 URL: https://issues.apache.org/jira/browse/HBASE-17895
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: Chia-Ping Tsai
>            Assignee: Wen-Hsiu,Chang
>            Priority: Trivial
>              Labels: beginner
>             Fix For: 2.0.0
>
>         Attachments: HBASE-17895-v0.patch
>
>
> {noformat}
>     assertEquals(-1, action_0.compareTo(action_1));
>     assertEquals(1, action_1.compareTo(action_0));
> {noformat}
> The correction is shown below.
> {noformat}
>     assertTrue(action_0.compareTo(action_1) < 0);
>     assertTrue(action_1.compareTo(action_0) > 0);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message