aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-09-22 13:41:36 +0300
committerIttay Stern <ittay.stern@att.com>2019-09-22 13:41:36 +0300
commit4c6e7740d1d55e15c76bca33bf82f176bc4fac15 (patch)
tree742ff5e1efa4efccb4bc2c13a029c886048f71ce /vid-webpack-master
parent608c7c4ba8b3fa8ec22d0237a8fffc0da14cefc2 (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')
-rw-r--r--vid-webpack-master/cypress/pipeline/run_group1.sh2
-rw-r--r--vid-webpack-master/cypress/pipeline/run_group2.sh2
2 files changed, 2 insertions, 2 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' ',')
diff --git a/vid-webpack-master/cypress/pipeline/run_group2.sh b/vid-webpack-master/cypress/pipeline/run_group2.sh
index 2f30fa7df..43cfbc63f 100644
--- a/vid-webpack-master/cypress/pipeline/run_group2.sh
+++ b/vid-webpack-master/cypress/pipeline/run_group2.sh
@@ -14,4 +14,4 @@ cd ${CYPRESS_HOME_DIR}
ls -1 cypress/integration/*/*.e2e.ts | comm -3 - ${TESTS_GROUP_FILE_1} > ${TESTS_GROUP_FILE}
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' ',')