summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmichai Hemli <amichai.hemli@intl.att.com>2019-09-24 09:56:16 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-24 09:56:16 +0000
commitd0d6771000f3a0cceaa0d11a8b6a575608b10f8f (patch)
treef68697e61db98c5ba9a75c28d099ba3ff081dbed
parent5f7bd08676754cd28ed761365651c578854e25a1 (diff)
parent4c6e7740d1d55e15c76bca33bf82f176bc4fac15 (diff)
Merge "Add memory to Cypress"
-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' ',')