Skip to content

Commit cfe357b

Browse files
authored
Increase memory allocated to OpenSearch in GHA. (#470)
Signed-off-by: dblock <[email protected]>
1 parent 870a018 commit cfe357b

File tree

4 files changed

+1
-19
lines changed

4 files changed

+1
-19
lines changed

.github/workflows/test-spec.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
OPENSEARCH_DOCKER_REF: ${{ matrix.entry.ref }}
4444
OPENSEARCH_VERSION: ${{ matrix.entry.version }}
4545
OPENSEARCH_PASSWORD: ${{ matrix.entry.admin_password || 'myStrongPassword123!' }}
46-
OPENSEARCH_JAVA_OPTS: ${{ matrix.entry.opts }}
46+
OPENSEARCH_JAVA_OPTS: ${{ matrix.entry.opts }} -Xms2g -Xmx2g
4747

4848
steps:
4949
- name: Checkout Repo

tests/sql/close.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ prologues:
2222
method: POST
2323
parameters:
2424
index: books
25-
- path: _plugins/_query/settings
26-
method: PUT
27-
request:
28-
payload:
29-
transient:
30-
plugins.query.memory_limit: 100%
3125
- id: sql_query
3226
path: /_plugins/_sql
3327
method: POST

tests/sql/explain.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ prologues:
77
method: PUT
88
request:
99
payload: {}
10-
- path: _plugins/_query/settings
11-
method: PUT
12-
request:
13-
payload:
14-
transient:
15-
plugins.query.memory_limit: 100%
1610
epilogues:
1711
- path: /books
1812
method: DELETE

tests/sql/query.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ prologues:
99
index: books
1010
request:
1111
payload: {}
12-
- path: _plugins/_query/settings
13-
method: PUT
14-
request:
15-
payload:
16-
transient:
17-
plugins.query.memory_limit: 100%
1812
epilogues:
1913
- path: /books
2014
method: DELETE

0 commit comments

Comments
 (0)