[CI] Remove --detectOpenHandles to parallelize Jest tests again (#67413)
This commit is contained in:
parent
69980a6d7e
commit
2c86a22582
|
@ -33,7 +33,7 @@ module.exports = function (grunt) {
|
|||
function runJest(jestScript) {
|
||||
const serverCmd = {
|
||||
cmd: 'node',
|
||||
args: [jestScript, '--ci', '--detectOpenHandles'],
|
||||
args: [jestScript, '--ci'],
|
||||
opts: { stdio: 'inherit' },
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ if [[ -z "$CODE_COVERAGE" ]] ; then
|
|||
|
||||
echo " -> Running jest tests"
|
||||
cd "$XPACK_DIR"
|
||||
checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=6144 scripts/jest --ci --verbose --detectOpenHandles
|
||||
checks-reporter-with-killswitch "X-Pack Jest" node --max-old-space-size=6144 scripts/jest --ci --verbose
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
|
@ -32,7 +32,7 @@ else
|
|||
# build runtime for canvas
|
||||
echo "NODE_ENV=$NODE_ENV"
|
||||
node ./plugins/canvas/scripts/shareable_runtime
|
||||
node --max-old-space-size=6144 scripts/jest --ci --verbose --detectOpenHandles --coverage
|
||||
node --max-old-space-size=6144 scripts/jest --ci --verbose --coverage
|
||||
# rename file in order to be unique one
|
||||
test -f ../target/kibana-coverage/jest/coverage-final.json \
|
||||
&& mv ../target/kibana-coverage/jest/coverage-final.json \
|
||||
|
|
Loading…
Reference in a new issue