summaryrefslogtreecommitdiff
path: root/qpid/ruby/tests
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-05-20 21:15:32 +0000
committerTed Ross <tross@apache.org>2009-05-20 21:15:32 +0000
commit09d6e1b104c45a8bee961b1cbcfcd2b9465df46f (patch)
treebccc6bdd0dc83dcfb6b2fbac4fcd67cd2f6ccaf4 /qpid/ruby/tests
parent0db6d524c526dda3d0edf39087f3c9c5ee288f97 (diff)
downloadqpid-python-09d6e1b104c45a8bee961b1cbcfcd2b9465df46f.tar.gz
Numerous fixes in the qmf console for Ruby
Added proper connection close if the SASL security context expires. Added :timeout and :async features to qmf console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@776856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/ruby/tests')
-rw-r--r--qpid/ruby/tests/qmf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/ruby/tests/qmf.rb b/qpid/ruby/tests/qmf.rb
index 06371a5a82..274e38416e 100644
--- a/qpid/ruby/tests/qmf.rb
+++ b/qpid/ruby/tests/qmf.rb
@@ -44,7 +44,7 @@ class QmfTest < Test::Unit::TestCase
@count = count
for idx in 0...count
synchronize do
- seq = broker.echo(idx, "Echo Message", :_async => true)
+ seq = broker.echo(idx, "Echo Message", :async => true)
@xmt_list[seq] = idx
end
end
@@ -109,7 +109,7 @@ class QmfTest < Test::Unit::TestCase
start_qmf
body = "Echo Message Body"
for seq in 1..10
- res = @broker.echo(seq, body, :_timeout => 10)
+ res = @broker.echo(seq, body, :timeout => 10)
assert_equal(0, res.status)
assert_equal("OK", res.text)
assert_equal(seq, res.sequence)