From 758d68b7cc737d237ccabdfac7f80a6d16b374ad Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Tue, 25 Mar 2014 21:03:52 +0000 Subject: [PATCH] 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 --- .../hadoop/hbase/coprocessor/TestRegionObserverInterface.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverInterface.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverInterface.java index c8aa3ab972f..be56c96e260 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverInterface.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverInterface.java @@ -242,6 +242,7 @@ public class TestRegionObserverInterface { TableName tableName = TableName.valueOf("testHBase3583"); util.createTable(tableName, new byte[][] {A, B, C}); + util.waitUntilAllRegionsAssigned(tableName); verifyMethodResult(SimpleRegionObserver.class, new String[] {"hadPreGet", "hadPostGet", "wasScannerNextCalled",