From 29331505004d3e6fbb70cc9ffcc10e90c0d7d3a3 Mon Sep 17 00:00:00 2001 From: nkeywal Date: Mon, 14 Jan 2013 16:40:40 +0000 Subject: [PATCH] HBASE-7555 Kill the remaining processus from other builds in the precommit env git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1432984 13f79535-47bb-0310-9956-ffa450edef68 --- dev-support/test-patch.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 8a7174aad6c..8105565ecac 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -622,6 +622,10 @@ runTests () { echo "======================================================================" echo "" echo "" + + + ### kill any process remaining from another test, maybe even another project + jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9 2>/dev/null failed_tests="" ### Kill any rogue build processes from the last attempt @@ -663,6 +667,7 @@ runTests () { {color:red}-1 core zombie tests{color}. There are ${ZOMBIE_TESTS_COUNT} zombie test(s): ${ZB_STACK}" BAD=1 + jps | grep surefirebooter | cut -d ' ' -f 1 | xargs kill -9 else echo "We're ok: there is no zombie test, but some tests took some time to stop" fi