HBASE-16418 Reduce duration of sleep waiting for region reopen in IntegrationTestBulkLoad#installSlowingCoproc()
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d5080e82 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d5080e82 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d5080e82 Branch: refs/heads/hbase-12439 Commit: d5080e82fb47b5499b72fbafbbc52f4f432622d3 Parents: 9219d68 Author: tedyu <[email protected]> Authored: Mon Aug 15 17:26:11 2016 -0700 Committer: tedyu <[email protected]> Committed: Mon Aug 15 17:26:11 2016 -0700 ---------------------------------------------------------------------- .../apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/d5080e82/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java ---------------------------------------------------------------------- diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java index 1d8be99..4e85425 100644 --- a/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java +++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java @@ -205,9 +205,6 @@ public class IntegrationTestBulkLoad extends IntegrationTestBase { HTableDescriptor desc = admin.getTableDescriptor(t); desc.addCoprocessor(SlowMeCoproScanOperations.class.getName()); HBaseTestingUtility.modifyTableSync(admin, desc); - //sleep for sometime. Hope is that the regions are closed/opened before - //the sleep returns. TODO: do this better - Thread.sleep(30000); } @Test
