Skip to content

Commit

Permalink
Workaround for hanging e2e-breaking Babel test (#13623)
Browse files Browse the repository at this point in the history
* Workaround for hanging e2e-breaking Babel test

* Maybe this

* Update scripts/integration-tests/e2e-babel.sh

* Update scripts/integration-tests/e2e-babel.sh
  • Loading branch information
nicolo-ribaudo committed Aug 17, 2021
1 parent b00bd94 commit fc66d4d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/integration-tests/e2e-babel.sh
Expand Up @@ -32,6 +32,15 @@ startLocalRegistry "$PWD"/scripts/integration-tests/verdaccio-config.yml
node "$PWD"/scripts/integration-tests/utils/bump-babel-dependencies.js

# Update deps, build and test
make -j test-ci
if [ "$BABEL_8_BREAKING" = true ] ; then
# Jest hangs forever in the Babel 8 e2e test when using multiple workers,
# but we don't know yet why. Until we figure it out (see
# https://github.com/babel/babel/pull/13618) we can use --runInBand.
make -j build-standalone-ci
BABEL_ENV=test yarn jest --ci --runInBand
make -j test-clean
else
make -j test-ci
fi

cleanup

0 comments on commit fc66d4d

Please sign in to comment.