Merge pull request #500 from y-higuchi/fix_flowsync
Convert # of flows arguments to int
diff --git a/perf-scripts/flow-sync-perf.py b/perf-scripts/flow-sync-perf.py
index f0af050..b782333 100755
--- a/perf-scripts/flow-sync-perf.py
+++ b/perf-scripts/flow-sync-perf.py
@@ -203,7 +203,7 @@
setLogLevel( 'output' )
resultDir = strftime( '%Y%m%d-%H%M%S' )
os.mkdir( resultDir )
- tests = sys.argv[1:]
+ tests = map(int, sys.argv[1:])
if not tests:
tests = [1, 10, 100, 1000, 10000]
runPerf( resultDir, tests )