HBASE-14978 Don't allow Multi to retain too many blocks -- ADD

This commit is contained in:
Elliott Clark 2015-12-17 17:54:52 -08:00
parent c825a26ad1
commit 345d008ede

View File

@ -75,7 +75,7 @@ public class TestMultiRespectsLimits {
TEST_UTIL.loadTable(t, FAMILY, false);
// Split the table to make sure that the chunking happens accross regions.
try (final Admin admin = TEST_UTIL.getAdmin()) {
try (final Admin admin = TEST_UTIL.getHBaseAdmin()) {
admin.split(name);
TEST_UTIL.waitFor(60000, new Waiter.Predicate<Exception>() {
@Override
@ -139,7 +139,7 @@ public class TestMultiRespectsLimits {
}
// Make sure that a flush happens
try (final Admin admin = TEST_UTIL.getAdmin()) {
try (final Admin admin = TEST_UTIL.getHBaseAdmin()) {
admin.flush(name);
TEST_UTIL.waitFor(60000, new Waiter.Predicate<Exception>() {
@Override