Skip to content

Commit 168bef7

Browse files
committed
Fix Integ tests 2
Signed-off-by: Vaibhav Agarwal <[email protected]>
1 parent 78e28a8 commit 168bef7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/actions/run-cypress-tests/action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ runs:
131131
command: yarn run cypress run --config-file cypress.config.js
132132
wait-on: 'http://localhost:5601'
133133
browser: chrome
134+
env:
135+
NODE_OPTIONS: '--expose-gc'
134136
- name: Cypress tests
135137
uses: cypress-io/github-action@v5
136138
if: ${{ inputs.with-security == 'true' }}
@@ -139,6 +141,8 @@ runs:
139141
command: yarn run cypress run --config-file cypress.config.js --env SECURITY_ENABLED=true,openSearchUrl=https://localhost:9200,WAIT_FOR_LOADER_BUFFER_MS=500
140142
wait-on: 'http://localhost:5601'
141143
browser: chrome
144+
env:
145+
NODE_OPTIONS: '--expose-gc'
142146
# Screenshots are only captured on failure, will change this once we do visual regression tests
143147
- uses: actions/upload-artifact@v4
144148
if: failure()

.github/workflows/cypress-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
- "*"
99
env:
1010
OPENSEARCH_DASHBOARDS_VERSION: 'main'
11-
CYPRESS_MEMORY_LIMIT: '40960'
12-
NODE_OPTIONS: '--max-old-space-size=40960'
11+
CYPRESS_MEMORY_LIMIT: '131072'
12+
NODE_OPTIONS: '--max-old-space-size=131072'
1313
jobs:
1414
tests:
1515
name: Run Cypress E2E tests

0 commit comments

Comments
 (0)