hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-13114) [UNITTEST] TestEnableTableHandler.testDeleteForSureClearsAllTableRowsFromMeta
Date Thu, 19 Mar 2015 18:17:38 GMT

     [ https://issues.apache.org/jira/browse/HBASE-13114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Esteban Gutierrez updated HBASE-13114:
--------------------------------------
    Attachment: 0001-UNITTEST-TestEnableTableHandler.testDeleteForSureCle.patch

Attached patch with suggestions from [~mbertozzi]. 

[~octo47] yeah, I thought about moving the observer to HBaseTestingUtility but as [~mbertozzi]
said, after HBASE-13204 that shouldn't be required.

If you guys think we will have a greater gain by using the latch across all createTable()/enableTable()/disableTable()/deleteTable()
calls then lets open a new JIRA, personally I think we are gaining too little by adding the
latch to every time we need to create or delete a table.

> [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,
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