From b532abf9cc6087b6a81ac85382a45da1cea699eb Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 17:54:48 -0700 Subject: [PATCH] disable jvm memory circuit breaker for IT (#2540) (#2566) (#3040) Signed-off-by: Jing Zhang (cherry picked from commit b974ed4d8bf55cc1e17fc02c00ce6010fbd6a461) Co-authored-by: Jing Zhang (cherry picked from commit c382e10c13a125df8c0c95072c761f3b0333d29a) Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> --- .../test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java b/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java index a82ad35146..3a14ea0a5a 100644 --- a/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java +++ b/plugin/src/test/java/org/opensearch/ml/rest/MLCommonsRestTestCase.java @@ -170,6 +170,7 @@ public void setupSettings() throws IOException { String jsonEntity = "{\n" + " \"persistent\" : {\n" + + " \"plugins.ml_commons.jvm_heap_memory_threshold\" : 100, \n" + " \"plugins.ml_commons.native_memory_threshold\" : 100 \n" + " }\n" + "}";