diff options
| author | Alan Conway <aconway@apache.org> | 2010-04-09 16:23:57 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-04-09 16:23:57 +0000 |
| commit | a8671b721c82bfa4eb0d3854f8af5ab903637604 (patch) | |
| tree | 8256c1b94fe481ae8a4e05def92d8028815e78e3 /cpp/src/tests | |
| parent | 2f7e23c2591cc632872bcfc183f0449baf9988e1 (diff) | |
| download | qpid-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-x | cpp/src/tests/qpid_cpp_benchmark | 3 |
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) |
