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:
parent
049cf7b596
commit
e41bc102bb
|
@ -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)
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue