HBASE-3876 TestCoprocessorInterface.testCoprocessorInterface broke on jenkins and local

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1102819 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-05-13 17:17:07 +00:00
parent 049cf7b596
commit e41bc102bb
2 changed files with 8 additions and 6 deletions

View File

@ -103,6 +103,8 @@ Release 0.91.0 - Unreleased
HBASE-3865 Failing TestWALReplay HBASE-3865 Failing TestWALReplay
HBASE-3864 Rename of hfile.min.blocksize.size in HBASE-2899 reverted in HBASE-3864 Rename of hfile.min.blocksize.size in HBASE-2899 reverted in
HBASE-1861 (Aaron T. Myers) HBASE-1861 (Aaron T. Myers)
HBASE-3876 TestCoprocessorInterface.testCoprocessorInterface broke on
jenkins and local
IMPROVEMENTS IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack) HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -143,9 +143,10 @@ public class TestCoprocessorInterface extends HBaseTestCase {
Configuration hc = initSplit(); Configuration hc = initSplit();
HRegion region = initHRegion(tableName, getName(), hc, HRegion region = initHRegion(tableName, getName(), hc,
CoprocessorImpl.class, families); CoprocessorImpl.class, families);
for (int i = 0; i < 3; i++) {
addContent(region, fam3); addContent(region, fam3);
region.flushcache(); region.flushcache();
}
byte [] splitRow = region.compactStores(); byte [] splitRow = region.compactStores();
assertNotNull(splitRow); assertNotNull(splitRow);
HRegion [] regions = split(region, splitRow); HRegion [] regions = split(region, splitRow);
@ -154,9 +155,8 @@ public class TestCoprocessorInterface extends HBaseTestCase {
} }
region.close(); region.close();
region.getLog().closeAndDelete(); region.getLog().closeAndDelete();
Coprocessor c = region.getCoprocessorHost().
Coprocessor c = region.getCoprocessorHost() findCoprocessor(CoprocessorImpl.class.getName());
.findCoprocessor(CoprocessorImpl.class.getName());
assertTrue("Coprocessor not started", ((CoprocessorImpl)c).wasStarted()); assertTrue("Coprocessor not started", ((CoprocessorImpl)c).wasStarted());
assertTrue("Coprocessor not stopped", ((CoprocessorImpl)c).wasStopped()); assertTrue("Coprocessor not stopped", ((CoprocessorImpl)c).wasStopped());
assertTrue(((CoprocessorImpl)c).wasOpened()); assertTrue(((CoprocessorImpl)c).wasOpened());