From 9ac4c09e54960679358087c351b4c0d113956270 Mon Sep 17 00:00:00 2001 From: Jing Zhang Date: Wed, 12 Jun 2024 08:23:54 -0700 Subject: [PATCH] disable jvm memory circuit breaker for IT (#2540) Signed-off-by: Jing Zhang (cherry picked from commit b974ed4d8bf55cc1e17fc02c00ce6010fbd6a461) --- .../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 75ca1a0179..0d2dfa1fa6 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" + "}";