cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject svn commit: r962951 - in /cassandra: branches/cassandra-0.6/contrib/py_stress/stress.py trunk/contrib/py_stress/stress.py
Date Sat, 10 Jul 2010 23:58:10 GMT
Author: brandonwilliams
Date: Sat Jul 10 23:58:09 2010
New Revision: 962951

URL: http://svn.apache.org/viewvc?rev=962951&view=rev
Log:
stress.py stdev accepts float instead of int.  Patch by Oren Benjamin; revied by brandonwilliams
for CASSANDRA-1262

Modified:
    cassandra/branches/cassandra-0.6/contrib/py_stress/stress.py
    cassandra/trunk/contrib/py_stress/stress.py

Modified: cassandra/branches/cassandra-0.6/contrib/py_stress/stress.py
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.6/contrib/py_stress/stress.py?rev=962951&r1=962950&r2=962951&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.6/contrib/py_stress/stress.py (original)
+++ cassandra/branches/cassandra-0.6/contrib/py_stress/stress.py Sat Jul 10 23:58:09 2010
@@ -67,7 +67,7 @@ parser.add_option('-c', '--columns', typ
                   help="Number of columns per key", default=5)
 parser.add_option('-d', '--nodes', type="string", dest="nodes",
                   help="Host nodes (comma separated)", default="localhost")
-parser.add_option('-s', '--stdev', type="int", dest="stdev", default=0.1,
+parser.add_option('-s', '--stdev', type="float", dest="stdev", default=0.1,
                   help="standard deviation factor")
 parser.add_option('-r', '--random', action="store_true", dest="random",
                   help="use random key generator (stdev will have no effect)")

Modified: cassandra/trunk/contrib/py_stress/stress.py
URL: http://svn.apache.org/viewvc/cassandra/trunk/contrib/py_stress/stress.py?rev=962951&r1=962950&r2=962951&view=diff
==============================================================================
--- cassandra/trunk/contrib/py_stress/stress.py (original)
+++ cassandra/trunk/contrib/py_stress/stress.py Sat Jul 10 23:58:09 2010
@@ -67,7 +67,7 @@ parser.add_option('-c', '--columns', typ
                   help="Number of columns per key", default=5)
 parser.add_option('-d', '--nodes', type="string", dest="nodes",
                   help="Host nodes (comma separated)", default="localhost")
-parser.add_option('-s', '--stdev', type="int", dest="stdev", default=0.1,
+parser.add_option('-s', '--stdev', type="float", dest="stdev", default=0.1,
                   help="standard deviation factor")
 parser.add_option('-r', '--random', action="store_true", dest="random",
                   help="use random key generator (stdev will have no effect)")



Mime
View raw message