accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject svn commit: r1398801 - /accumulo/branches/1.4/test/system/continuous/agitator.pl
Date Tue, 16 Oct 2012 13:57:09 GMT
Author: kturner
Date: Tue Oct 16 13:57:08 2012
New Revision: 1398801

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

Modified:
    accumulo/branches/1.4/test/system/continuous/agitator.pl

Modified: accumulo/branches/1.4/test/system/continuous/agitator.pl
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/test/system/continuous/agitator.pl?rev=1398801&r1=1398800&r2=1398801&view=diff
==============================================================================
--- accumulo/branches/1.4/test/system/continuous/agitator.pl (original)
+++ accumulo/branches/1.4/test/system/continuous/agitator.pl Tue Oct 16 13:57:08 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