phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sama...@apache.org
Subject phoenix git commit: PHOENIX-2594 ScannerLeaseRenewalIT fails if HBase is running locally
Date Wed, 13 Jan 2016 22:30:38 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.0 cc93168c6 -> 57536d00e


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/57536d00
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/57536d00
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/57536d00

Branch: refs/heads/4.x-HBase-1.0
Commit: 57536d00eceabb17cadda339d79650f31e93b724
Parents: cc93168
Author: Samarth <samarth.jain@salesforce.com>
Authored: Wed Jan 13 14:30:27 2016 -0800
Committer: Samarth <samarth.jain@salesforce.com>
Committed: Wed Jan 13 14:30:27 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/57536d00/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


Mime
View raw message