Skip to content

Commit 69e2831

Browse files
authored
increase java heap memory during tests (#47)
* increase java heap memory during tests * changelog
1 parent 0df8981 commit 69e2831

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
version: [22.x, 20.x, 18.x]
16-
os: [ubuntu-latest, macos-latest, windows-latest]
16+
os: [ubuntu-latest, macos-14-large, windows-latest]
1717
name: Node ${{ matrix.version }} on ${{ matrix.os }}
1818
runs-on: ${{ matrix.os }}
1919
steps:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- Add `X-Request-Id` header
2828
- Extract `User-Agent` header from package.json
2929
- Rename `HTTPResponseError` -> `HttpResponseError`
30+
- Fix Java heap memory test issue

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "tsc -b",
99
"lint": "eslint . --ext .ts --max-warnings 0 --report-unused-disable-directives --format codeframe",
1010
"lint:fix": "npm run lint -- --fix",
11-
"wiremock": "JAVA_OPTS='-Xmx1024m -Xms512m' wiremock --port 8080 --bind-address 127.0.0.1 --disable-banner",
11+
"wiremock": "JAVA_OPTS='-Xmx1536m -Xms768m' wiremock --port 8080 --bind-address 127.0.0.1 --disable-banner --disable-request-logging --no-request-journal",
1212
"mocha": "mocha",
1313
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=tsconfig.test.json concurrently -k -s first \"wiremock\" \"mocha\"",
1414
"test:coverage": "nyc --reporter=lcov --reporter=text-summary yarn test",

0 commit comments

Comments
 (0)