From 23a4595f0aed49f0929f0efc1d3e1fcbb7845f6e Mon Sep 17 00:00:00 2001 From: sotojn Date: Mon, 16 Dec 2024 11:26:26 -0700 Subject: [PATCH] replace ES_JAVA_OPTS env with valid OPENSEARCH_JAVA_OPTS env --- packages/scripts/src/helpers/test-runner/services.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/src/helpers/test-runner/services.ts b/packages/scripts/src/helpers/test-runner/services.ts index 289aed5e91c..d28401344c6 100644 --- a/packages/scripts/src/helpers/test-runner/services.ts +++ b/packages/scripts/src/helpers/test-runner/services.ts @@ -87,7 +87,7 @@ const services: Readonly>> = { ? ['/usr/share/opensearch/data:uid=1000,gid=1000'] : undefined, env: { - ES_JAVA_OPTS: config.SERVICE_HEAP_OPTS, + OPENSEARCH_JAVA_OPTS: config.SERVICE_HEAP_OPTS, 'network.host': '0.0.0.0', 'http.port': config.OPENSEARCH_PORT, 'discovery.type': 'single-node',