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/11/10 20:51:39 UTC

phoenix git commit: PHOENIX-3461 Addendum - make coprocessor class in RenewLeaseIT static

Repository: phoenix
Updated Branches:
  refs/heads/master 3886638b0 -> e1fb7d52a


PHOENIX-3461 Addendum - make coprocessor class in RenewLeaseIT static


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

Branch: refs/heads/master
Commit: e1fb7d52a202d3b93c3c80705c4057a0efd0a9d7
Parents: 3886638
Author: Samarth <sa...@salesforce.com>
Authored: Thu Nov 10 12:51:10 2016 -0800
Committer: Samarth <sa...@salesforce.com>
Committed: Thu Nov 10 12:51:30 2016 -0800

----------------------------------------------------------------------
 .../src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e1fb7d52/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
index 78c27f3..d2a5e57 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/RenewLeaseIT.java
@@ -45,7 +45,7 @@ import com.google.common.collect.Maps;
 public class RenewLeaseIT extends BaseUniqueNamesOwnClusterIT {
     private static final long RPC_TIMEOUT = 2000;
     private static volatile boolean SLEEP_NOW = false;
-    private final String TABLE_NAME = generateUniqueName();
+    private final static String TABLE_NAME = generateUniqueName();
     
     @BeforeClass
     public static void doSetup() throws Exception {
@@ -72,7 +72,9 @@ public class RenewLeaseIT extends BaseUniqueNamesOwnClusterIT {
         }
     }
     
-    public class SleepingRegionObserver extends SimpleRegionObserver {
+    public static class SleepingRegionObserver extends SimpleRegionObserver {
+        public SleepingRegionObserver() {}
+        
         @Override
         public boolean preScannerNext(final ObserverContext<RegionCoprocessorEnvironment> c,
                 final InternalScanner s, final List<Result> results,