[7.x] expand max-old-space-size for xpack jest tests (#59455) (#59495)

* expand max-old-space-size for xpack jest tests

* turns out we are already at 4GB

* limit to 6GB for now
This commit is contained in:
Spencer 2020-03-05 16:05:53 -07:00 committed by GitHub
parent 6256d0377b
commit 982b2bfe7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ echo ""
echo " -> Running jest tests"
cd "$XPACK_DIR"
checks-reporter-with-killswitch "X-Pack Jest" node scripts/jest --ci --verbose --detectOpenHandles
checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=6144 scripts/jest --ci --verbose --detectOpenHandles
echo ""
echo ""