You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by sa...@apache.org on 2016/01/13 23:28:35 UTC

phoenix git commit: PHOENIX-2594 ScannerLeaseRenewalIT fails if HBase is running locally

Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 92a1bd5fe -> 8495329ee


PHOENIX-2594 ScannerLeaseRenewalIT fails if HBase is running locally


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/8495329e
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/8495329e
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/8495329e

Branch: refs/heads/4.x-HBase-0.98
Commit: 8495329ee30879af5922c9dafd139a3b16178729
Parents: 92a1bd5
Author: Samarth <sa...@salesforce.com>
Authored: Wed Jan 13 14:28:24 2016 -0800
Committer: Samarth <sa...@salesforce.com>
Committed: Wed Jan 13 14:28:24 2016 -0800

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8495329e/phoenix-core/src/it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java b/phoenix-core/src/it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java
index 7b42a77..09fae45 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/iterate/ScannerLeaseRenewalIT.java
@@ -18,6 +18,7 @@
 package org.apache.phoenix.iterate;
 
 import static org.apache.hadoop.hbase.HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD;
+import static org.apache.phoenix.query.BaseTest.setUpConfigForMiniCluster;
 import static org.apache.phoenix.query.QueryServices.FORCE_ROW_KEY_ORDER_ATTRIB;
 import static org.apache.phoenix.query.QueryServices.RENEW_LEASE_ENABLED;
 import static org.apache.phoenix.query.QueryServices.RENEW_LEASE_THREAD_POOL_SIZE;
@@ -64,6 +65,7 @@ public class ScannerLeaseRenewalIT {
     public static void setUp() throws Exception {
         Configuration conf = HBaseConfiguration.create();
         hbaseTestUtil = new HBaseTestingUtility(conf);
+        setUpConfigForMiniCluster(conf);
         conf.setLong(HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD, LEASE_TIMEOUT_PERIOD_MILLIS);
         hbaseTestUtil.startMiniCluster();
         // establish url and quorum. Need to use PhoenixDriver and not PhoenixTestDriver