diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-09-22 13:41:36 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-09-22 13:41:36 +0300 |
commit | 4c6e7740d1d55e15c76bca33bf82f176bc4fac15 (patch) | |
tree | 742ff5e1efa4efccb4bc2c13a029c886048f71ce /vid-webpack-master/cypress/pipeline/run_group1.sh | |
parent | 608c7c4ba8b3fa8ec22d0237a8fffc0da14cefc2 (diff) |
Add memory to Cypress
Fixing error: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed -
JavaScript heap out of memory
Change-Id: Ifa12f3c39bdf29c3211a3c75bcc17876a2af5b85
Issue-ID: VID-647
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/cypress/pipeline/run_group1.sh')
-rw-r--r-- | vid-webpack-master/cypress/pipeline/run_group1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/pipeline/run_group1.sh b/vid-webpack-master/cypress/pipeline/run_group1.sh index d60b85312..526fd7dec 100644 --- a/vid-webpack-master/cypress/pipeline/run_group1.sh +++ b/vid-webpack-master/cypress/pipeline/run_group1.sh @@ -10,4 +10,4 @@ TESTS_GROUP_FILE=cypress/pipeline/group1.txt cd ${CYPRESS_HOME_DIR} cat ${TESTS_GROUP_FILE} -npm run cypress:headless -- --spec=$(cat ${TESTS_GROUP_FILE} | tr '\n' ',') +npm run cypress:headless --max-old-space-size=4096 -- --spec=$(cat ${TESTS_GROUP_FILE} | tr '\n' ',') |