accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1398802 - /accumulo/trunk/test/system/continuous/agitator.pl
Date Tue, 16 Oct 2012 13:59:14 GMT
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;



Mime
View raw message