This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new e7aa505b1b PHOENIX-7373 Fix test hangs with HBase 2.6 caused by
PHOENIX-6978
e7aa505b1b is described below
commit e7aa505b1b501a0693adc624a8140bcc0ed4389b
Author: Istvan Toth <[email protected]>
AuthorDate: Thu Jul 25 14:39:28 2024 +0200
PHOENIX-7373 Fix test hangs with HBase 2.6 caused by PHOENIX-6978
---
phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java | 1 +
.../org/apache/phoenix/end2end/ViewTTLWithLongViewIndexEnabledIT.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java
index db8ae88396..d3d04c63c6 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLIT.java
@@ -108,6 +108,7 @@ public class ViewTTLIT extends BaseViewTTLIT {
Map<String, String> DEFAULT_PROPERTIES = new HashMap<String, String>()
{{
put(QueryServices.PHOENIX_TABLE_TTL_ENABLED, String.valueOf(true));
put(QueryServices.LONG_VIEW_INDEX_ENABLED_ATTRIB,
String.valueOf(false));
+ put("hbase.procedure.remote.dispatcher.delay.msec", "0");
// no max lookback
put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY,
Integer.toString(0));
put(QueryServices.PHOENIX_VIEW_TTL_ENABLED,
Boolean.toString(true));
diff --git
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLWithLongViewIndexEnabledIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLWithLongViewIndexEnabledIT.java
index 49820cfab9..102ef9e368 100644
---
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLWithLongViewIndexEnabledIT.java
+++
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewTTLWithLongViewIndexEnabledIT.java
@@ -41,6 +41,7 @@ public class ViewTTLWithLongViewIndexEnabledIT extends
BaseViewTTLIT {
Map<String, String> DEFAULT_PROPERTIES = new HashMap<String, String>()
{{
put(QueryServices.PHOENIX_TABLE_TTL_ENABLED, String.valueOf(true));
put(QueryServices.LONG_VIEW_INDEX_ENABLED_ATTRIB,
String.valueOf(true));
+ put("hbase.procedure.remote.dispatcher.delay.msec", "0");
// no max lookback
put(BaseScannerRegionObserverConstants.PHOENIX_MAX_LOOKBACK_AGE_CONF_KEY,
Integer.toString(0));
put(QueryServices.PHOENIX_VIEW_TTL_ENABLED,
Boolean.toString(true));