You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2019/12/11 10:02:30 UTC
[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5554 Synchronize
@Parameters, @BeforeClass and @AfterClass methods (addendum2)
This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
new 50feed1 PHOENIX-5554 Synchronize @Parameters, @BeforeClass and @AfterClass methods (addendum2)
50feed1 is described below
commit 50feed1e07781e600850bb62c64dd40470177c78
Author: Istvan Toth <st...@stoty.hu>
AuthorDate: Wed Dec 11 11:01:39 2019 +0100
PHOENIX-5554 Synchronize @Parameters, @BeforeClass and @AfterClass methods (addendum2)
fix changes omitted by heuristics
---
.../src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java | 2 +-
.../org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
index b4b15d0..90c7a60 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ParallelStatsEnabledIT.java
@@ -43,7 +43,7 @@ public abstract class ParallelStatsEnabledIT extends BaseTest {
protected static RegionCoprocessorEnvironment TaskRegionEnvironment;
@BeforeClass
- public static final void doSetup() throws Exception {
+ public static final synchronized void doSetup() throws Exception {
Map<String, String> props = Maps.newHashMapWithExpectedSize(1);
props.put(QueryServices.STATS_GUIDEPOST_WIDTH_BYTES_ATTRIB, Long.toString(20));
props.put(QueryServices.STATS_UPDATE_FREQ_MS_ATTRIB, Long.toString(5));
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java b/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
index 0d5d784..3a4f228 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/util/CoprocessorHConnectionTableFactoryIT.java
@@ -45,7 +45,7 @@ public class CoprocessorHConnectionTableFactoryIT extends BaseUniqueNamesOwnClus
LoggerFactory.getLogger(CoprocessorHConnectionTableFactoryIT.class);
@BeforeClass
- public static final void doSetup() throws Exception {
+ public static final synchronized void doSetup() throws Exception {
setUpTestDriver(ReadOnlyProps.EMPTY_PROPS);