Skip to content

Commit

Permalink
add OPENSEARCH_JAVA_OPTS env to restrained opensearch
Browse files Browse the repository at this point in the history
  • Loading branch information
sotojn committed Dec 16, 2024
1 parent 0e2efdb commit fe46987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/src/helpers/test-runner/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const services: Readonly<Record<Service, Readonly<DockerRunOptions>>> = {
name: `${config.TEST_NAMESPACE}_${config.OPENSEARCH_NAME}`,
ports: [`${config.RESTRAINED_OPENSEARCH_PORT}:${config.RESTRAINED_OPENSEARCH_PORT}`],
env: {
ES_JAVA_OPTS: config.SERVICE_HEAP_OPTS,
OPENSEARCH_JAVA_OPTS: config.SERVICE_HEAP_OPTS,
'network.host': '0.0.0.0',
'http.port': config.RESTRAINED_OPENSEARCH_PORT,
'discovery.type': 'single-node',
Expand Down

0 comments on commit fe46987

Please sign in to comment.