diff options
| author | Ted Ross <tross@apache.org> | 2009-05-20 21:15:32 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-05-20 21:15:32 +0000 |
| commit | 7154e46361c1cacc1ce4c09b3db9eb07828f8e3a (patch) | |
| tree | 380a8b5701b30ed5d124d2d198f64375c3afec36 /ruby/tests | |
| parent | b7b99eb789e893cbf0ff6bbf0b157d37d302f95f (diff) | |
| download | qpid-python-7154e46361c1cacc1ce4c09b3db9eb07828f8e3a.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/qpid@776856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'ruby/tests')
| -rw-r--r-- | ruby/tests/qmf.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
