Add comment to test-patch.sh that the zombie killing code is copy/pasted up into jenkins as after-task

This commit is contained in:
stack 2015-10-14 09:58:04 -07:00
parent 94ce2ed2f9
commit ba3d474f8a
1 changed files with 3 additions and 0 deletions

View File

@ -872,6 +872,9 @@ runTests () {
{color:green}+1 core tests{color}. The patch passed unit tests in $modules." {color:green}+1 core tests{color}. The patch passed unit tests in $modules."
BAD=0 BAD=0
fi fi
# NOTE!!!! The below code has been copied and pasted up into jenkins as an after-task
# for trunk builds. Make sure to update it too if you change the below (or refactor)
# all this so can be called by test-patch and from jenkins as a script.
ZOMBIE_TESTS_COUNT=`zombieCount` ZOMBIE_TESTS_COUNT=`zombieCount`
if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
#It seems sometimes the tests are not dying immediately. Let's give them 30s #It seems sometimes the tests are not dying immediately. Let's give them 30s