hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13114) [UNITTEST] TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta
Date Thu, 19 Mar 2015 09:39:39 GMT

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

Andrey Stepachev commented on HBASE-13114:
------------------------------------------

looks good to me.

btw, would it be better to have this observer in HBaseTestingUtility and some minimal infrastructure
to handle that in other tests if needed?
say we have methods createTable(), that would be good to have them use this observer.
what do you think?

> [UNITTEST] TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-13114
>                 URL: https://issues.apache.org/jira/browse/HBASE-13114
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: stack
>            Assignee: Esteban Gutierrez
>         Attachments: 0001-UNITTEST-TestEnableTableHandler.testDeleteForSureCle.patch,
0001-UNITTEST-TestEnableTableHandler.testDeleteForSureCle.patch, 0001-UNITTEST-TestEnableTableHandler.testDeleteForSureCle.patch,
13114.txt
>
>
> I've seen this fail a few times. It just happened now on internal rig.  Looking into
it....
> {code}
> REGRESSION:  org.apache.hadoop.hbase.master.handler.TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta
> Error Message:
> expected:<0> but was:<1>
> Stack Trace:
> java.lang.AssertionError: expected:<0> but was:<1>
>         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.junit.Assert.assertEquals(Assert.java:555)
>         at org.junit.Assert.assertEquals(Assert.java:542)
>         at org.apache.hadoop.hbase.master.handler.TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta(TestEnableTableHandler.java:151)
> {code}



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

Mime
View raw message