diff --git a/tasks/e2e-behavior.sh b/tasks/e2e-behavior.sh index 1ca2e012a2eca4e4a0b40a3340dccf30ab6d2b2c..93a49e5b6b32a33a29841020a1ca3fd1cbb1a9cc 100755 --- a/tasks/e2e-behavior.sh +++ b/tasks/e2e-behavior.sh @@ -22,6 +22,7 @@ original_yarn_registry_url=`yarn config get registry` function cleanup { echo 'Cleaning up.' + ps -ef | grep 'verdaccio' | grep -v grep | awk '{print $2}' | xargs kill -9 ps -ef | grep 'react-scripts' | grep -v grep | awk '{print $2}' | xargs kill -9 cd "$root_path" npm set registry "$original_npm_registry_url" diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index 2009ae9a5697c587dee8a4ada062222f650790d6..ee4ad248e2baecbec9d6e22d1c7e380ee7b5f0cf 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -21,6 +21,7 @@ original_yarn_registry_url=`yarn config get registry` function cleanup { echo 'Cleaning up.' + ps -ef | grep 'verdaccio' | grep -v grep | awk '{print $2}' | xargs kill -9 cd "$root_path" rm -rf "$temp_app_path" npm set registry "$original_npm_registry_url" diff --git a/tasks/e2e-kitchensink-eject.sh b/tasks/e2e-kitchensink-eject.sh index 9cb79e69376e0ae63f62729293bfbb6128bd0afc..fd37917db76548aebcedc4ae775b637a1c3d8de3 100755 --- a/tasks/e2e-kitchensink-eject.sh +++ b/tasks/e2e-kitchensink-eject.sh @@ -23,6 +23,7 @@ original_yarn_registry_url=`yarn config get registry` function cleanup { echo 'Cleaning up.' unset BROWSERSLIST + ps -ef | grep 'verdaccio' | grep -v grep | awk '{print $2}' | xargs kill -9 ps -ef | grep 'react-scripts' | grep -v grep | awk '{print $2}' | xargs kill -9 cd "$root_path" # TODO: fix "Device or resource busy" and remove ``|| $CI` diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index b57e4550c88e71ce81c8db87d0d2ac5e88f0063b..d9810d6794176e227f5e0575c700975928aa44e0 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -23,6 +23,7 @@ original_yarn_registry_url=`yarn config get registry` function cleanup { echo 'Cleaning up.' unset BROWSERSLIST + ps -ef | grep 'verdaccio' | grep -v grep | awk '{print $2}' | xargs kill -9 ps -ef | grep 'react-scripts' | grep -v grep | awk '{print $2}' | xargs kill -9 cd "$root_path" # TODO: fix "Device or resource busy" and remove ``|| $CI` diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 15564584d498eb6917be64c13a0278ce99d1f474..2b8345d1282fb9f9b926a819abdb7a0d2404fac1 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -21,6 +21,7 @@ original_yarn_registry_url=`yarn config get registry` function cleanup { echo 'Cleaning up.' + ps -ef | grep 'verdaccio' | grep -v grep | awk '{print $2}' | xargs kill -9 cd "$root_path" # Uncomment when snapshot testing is enabled by default: # rm ./packages/react-scripts/template/src/__snapshots__/App.test.js.snap