You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2012/10/16 15:59:14 UTC

svn commit: r1398802 - /accumulo/trunk/test/system/continuous/agitator.pl

Author: kturner
Date: Tue Oct 16 13:59:14 2012
New Revision: 1398802

URL: http://svn.apache.org/viewvc?rev=1398802&view=rev
Log:
ACCUMULO-784 applied patch from Chris McCubbin to fix bug in agitator (merged from 1.4)

Modified:
    accumulo/trunk/test/system/continuous/agitator.pl

Modified: accumulo/trunk/test/system/continuous/agitator.pl
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/continuous/agitator.pl?rev=1398802&r1=1398801&r2=1398802&view=diff
==============================================================================
--- accumulo/trunk/test/system/continuous/agitator.pl (original)
+++ accumulo/trunk/test/system/continuous/agitator.pl Tue Oct 16 13:59:14 2012
@@ -57,6 +57,11 @@ if(scalar(@slaves) < $maxKill){
 	$maxKill = scalar(@slaves);
 }
 
+if ($minKill > $maxKill){
+    print STDERR "WARN setting minKill to equal maxKill\n";
+    $minKill = $maxKill;
+}
+
 while(1){
 
 	$numToKill = int(rand($maxKill - $minKill + 1)) + $minKill;