diff --git a/build.gradle b/build.gradle index be234cfe6..ffb10754c 100644 --- a/build.gradle +++ b/build.gradle @@ -396,7 +396,7 @@ testClusters.integTest { // Increase heap size from default of 512mb to 1gb. When heap size is 512mb, our integ tests sporadically fail due // to ml-commons memory circuit breaker exception - jvmArgs("-Xms1g", "-Xmx4g") + jvmArgs("-Xms1g", "-Xmx2g") } // Remote Integration Tests diff --git a/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java b/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java index 696aafb26..9f201b4bd 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java @@ -52,11 +52,6 @@ public void setUp() throws Exception { updateClusterSettings(); } - @Override - public boolean isUpdateClusterSettings() { - return false; - } - /** * Using search pipelines with config for l2 norm: * { diff --git a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryAggregationsIT.java b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryAggregationsIT.java index 2a2fc7f34..9e72dfcb1 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryAggregationsIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryAggregationsIT.java @@ -93,11 +93,6 @@ public void setUp() throws Exception { updateClusterSettings(); } - @Override - public boolean isUpdateClusterSettings() { - return false; - } - @Override protected boolean preserveClusterUponCompletion() { return true; diff --git a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java index be6942232..729fc71d2 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java @@ -87,11 +87,6 @@ public void setUp() throws Exception { updateClusterSettings(); } - @Override - public boolean isUpdateClusterSettings() { - return false; - } - @Override protected boolean preserveClusterUponCompletion() { return true; diff --git a/src/test/java/org/opensearch/neuralsearch/query/aggregation/BaseAggregationsWithHybridQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/aggregation/BaseAggregationsWithHybridQueryIT.java index 521606fda..48fb8f8d6 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/aggregation/BaseAggregationsWithHybridQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/aggregation/BaseAggregationsWithHybridQueryIT.java @@ -89,11 +89,6 @@ public static void setUpCluster() { instance.updateClusterSettings(); } - @Override - public boolean isUpdateClusterSettings() { - return false; - } - @Override protected boolean preserveClusterUponCompletion() { return true;