From 7154e46361c1cacc1ce4c09b3db9eb07828f8e3a Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 20 May 2009 21:15:32 +0000 Subject: 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/qpid@776856 13f79535-47bb-0310-9956-ffa450edef68 --- ruby/tests/qmf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ruby/tests') diff --git a/ruby/tests/qmf.rb b/ruby/tests/qmf.rb index 06371a5a82..274e38416e 100644 --- a/ruby/tests/qmf.rb +++ b/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) -- cgit v1.2.1