HBASE-769 TestMasterAdmin fails throwing RegionOfflineException when we're expecting IllegalStateException

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-07-23 21:10:10 +00:00
parent 47904a8905
commit f84b20bdf5
2 changed files with 3 additions and 5 deletions

View File

@ -212,6 +212,8 @@ Release 0.2.0
HBASE-764 The name of column request has padding zero using REST interface
(Sishen Freecity via Stack)
HBASE-750 NPE caused by StoreFileScanner.updateReaders
HBASE-769 TestMasterAdmin fails throwing RegionOfflineException when we're
expecting IllegalStateException
IMPROVEMENTS
HBASE-559 MR example job to count table rows

View File

@ -67,12 +67,8 @@ public class TestMasterAdmin extends HBaseClusterTestCase {
try {
@SuppressWarnings("unused")
HTable table = new HTable(conf, testDesc.getName());
} catch (IllegalStateException e) {
} catch (org.apache.hadoop.hbase.client.RegionOfflineException e) {
// Expected
// This exception is not actually thrown. It doesn't look like it should
// throw since the connection manager is already filled w/ data
// -- noticed by St.Ack 09/09/2007
}
admin.addColumn(testDesc.getName(), new HColumnDescriptor("col2:"));