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 HBASE-764 The name of column request has padding zero using REST interface
(Sishen Freecity via Stack) (Sishen Freecity via Stack)
HBASE-750 NPE caused by StoreFileScanner.updateReaders HBASE-750 NPE caused by StoreFileScanner.updateReaders
HBASE-769 TestMasterAdmin fails throwing RegionOfflineException when we're
expecting IllegalStateException
IMPROVEMENTS IMPROVEMENTS
HBASE-559 MR example job to count table rows HBASE-559 MR example job to count table rows

View File

@ -67,12 +67,8 @@ public class TestMasterAdmin extends HBaseClusterTestCase {
try { try {
@SuppressWarnings("unused") @SuppressWarnings("unused")
HTable table = new HTable(conf, testDesc.getName()); HTable table = new HTable(conf, testDesc.getName());
} catch (IllegalStateException e) { } catch (org.apache.hadoop.hbase.client.RegionOfflineException e) {
// Expected // 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:")); admin.addColumn(testDesc.getName(), new HColumnDescriptor("col2:"));