Skip to content

Commit

Permalink
Merge pull request #314 from cmccoy/iperf-lower-bound
Browse files Browse the repository at this point in the history
Add lower bounds to iperf arguments.
  • Loading branch information
cmccoy committed Jun 19, 2015
2 parents e96da70 + 293a7c3 commit 87a3c49
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions perfkitbenchmarker/benchmarks/iperf_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@
from perfkitbenchmarker import vm_util

flags.DEFINE_integer('iperf_sending_thread_count', 1,
'Number of connections to make to the'
' server for sending traffic.')
'Number of connections to make to the '
'server for sending traffic.',
lower_bound=1)
flags.DEFINE_integer('iperf_runtime_in_seconds', 60,
'Number of seconds to run iperf.')
'Number of seconds to run iperf.',
lower_bound=1)

FLAGS = flags.FLAGS

Expand Down

0 comments on commit 87a3c49

Please sign in to comment.