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/calcite Commit: e1fb7d52a202d3b93c3c80705c4057a0efd0a9d7 Parents: 3886638 Author: Samarth <samarth.j...@salesforce.com> Authored: Thu Nov 10 12:51:10 2016 -0800 Committer: Samarth <samarth.j...@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,