Skip to content

Commit

Permalink
Increase memory allocated to OpenSearch in GHA. (#470)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Aug 6, 2024
1 parent 870a018 commit cfe357b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
OPENSEARCH_DOCKER_REF: ${{ matrix.entry.ref }}
OPENSEARCH_VERSION: ${{ matrix.entry.version }}
OPENSEARCH_PASSWORD: ${{ matrix.entry.admin_password || 'myStrongPassword123!' }}
OPENSEARCH_JAVA_OPTS: ${{ matrix.entry.opts }}
OPENSEARCH_JAVA_OPTS: ${{ matrix.entry.opts }} -Xms2g -Xmx2g

steps:
- name: Checkout Repo
Expand Down
6 changes: 0 additions & 6 deletions tests/sql/close.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ prologues:
method: POST
parameters:
index: books
- path: _plugins/_query/settings
method: PUT
request:
payload:
transient:
plugins.query.memory_limit: 100%
- id: sql_query
path: /_plugins/_sql
method: POST
Expand Down
6 changes: 0 additions & 6 deletions tests/sql/explain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ prologues:
method: PUT
request:
payload: {}
- path: _plugins/_query/settings
method: PUT
request:
payload:
transient:
plugins.query.memory_limit: 100%
epilogues:
- path: /books
method: DELETE
Expand Down
6 changes: 0 additions & 6 deletions tests/sql/query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ prologues:
index: books
request:
payload: {}
- path: _plugins/_query/settings
method: PUT
request:
payload:
transient:
plugins.query.memory_limit: 100%
epilogues:
- path: /books
method: DELETE
Expand Down

0 comments on commit cfe357b

Please sign in to comment.