summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-04-09 16:23:57 +0000
committerAlan Conway <aconway@apache.org>2010-04-09 16:23:57 +0000
commita8671b721c82bfa4eb0d3854f8af5ab903637604 (patch)
tree8256c1b94fe481ae8a4e05def92d8028815e78e3 /cpp/src/tests
parent2f7e23c2591cc632872bcfc183f0449baf9988e1 (diff)
downloadqpid-python-a8671b721c82bfa4eb0d3854f8af5ab903637604.tar.gz
Fix --send-rate option in qpid_cpp_benchmark.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932489 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/qpid_cpp_benchmark3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid_cpp_benchmark b/cpp/src/tests/qpid_cpp_benchmark
index 0b940dc30a..26bebf0506 100755
--- a/cpp/src/tests/qpid_cpp_benchmark
+++ b/cpp/src/tests/qpid_cpp_benchmark
@@ -46,7 +46,7 @@ def start_receive(queue, opts):
"--forever",
"--print-content=no",
"--report-total",
- "--rate %s"%(opts.send_rate)],
+ ],
stdout=PIPE, stderr=STDOUT)
def start_send(queue, opts):
@@ -56,6 +56,7 @@ def start_send(queue, opts):
"--count", str(opts.messages),
"--send-eos", str(opts.receivers),
"--content", "benchmark",
+ "--rate", str(opts.send_rate),
"--report-total"],
stdout=PIPE, stderr=STDOUT)