diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/verify-chef.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/verify-chef.sh b/ci/verify-chef.sh index 528152b3b6..3a9bcf2111 100755 --- a/ci/verify-chef.sh +++ b/ci/verify-chef.sh @@ -8,6 +8,9 @@ export TMPDIR sudo rm -rf $TMPDIR mkdir -p $TMPDIR +# Verify that we kill any orphaned test processes. Kill any orphaned rspec processes. +ps ax | egrep 'rspec' | grep -v grep | awk '{ print $1 }' | xargs sudo kill -s KILL || true + # $PROJECT_NAME is set by Jenkins, this allows us to use the same script to verify # Chef and Angry Chef PATH=/opt/$PROJECT_NAME/bin:$PATH |