From fc66d4dd0572fe87a6c7169f9c3619e09a6acd33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Tue, 17 Aug 2021 20:37:34 +0200 Subject: [PATCH] Workaround for hanging e2e-breaking Babel test (#13623) * Workaround for hanging e2e-breaking Babel test * Maybe this * Update scripts/integration-tests/e2e-babel.sh * Update scripts/integration-tests/e2e-babel.sh --- scripts/integration-tests/e2e-babel.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/integration-tests/e2e-babel.sh b/scripts/integration-tests/e2e-babel.sh index a81ee0400dd7..528d0ecdd88f 100755 --- a/scripts/integration-tests/e2e-babel.sh +++ b/scripts/integration-tests/e2e-babel.sh @@ -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