HBASE-10828 TestRegionObserverInterface#testHBase3583 should wait for all regions to be assigned

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1581515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2014-03-25 21:03:52 +00:00
parent d59d9b48f4
commit 758d68b7cc
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ public class TestRegionObserverInterface {
TableName tableName = TableName tableName =
TableName.valueOf("testHBase3583"); TableName.valueOf("testHBase3583");
util.createTable(tableName, new byte[][] {A, B, C}); util.createTable(tableName, new byte[][] {A, B, C});
util.waitUntilAllRegionsAssigned(tableName);
verifyMethodResult(SimpleRegionObserver.class, verifyMethodResult(SimpleRegionObserver.class,
new String[] {"hadPreGet", "hadPostGet", "wasScannerNextCalled", new String[] {"hadPreGet", "hadPostGet", "wasScannerNextCalled",