summaryrefslogtreecommitdiff
path: root/qpid/ruby
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-01-13 16:33:52 +0000
committerRafael H. Schloming <rhs@apache.org>2009-01-13 16:33:52 +0000
commit98dc810358814efe57d331cbc276fb8918dd7e0a (patch)
tree413ac580ee555d437f19ac52387686487127b6bd /qpid/ruby
parentf202e75d542a2ceec4855e2b6352193ac9ce0662 (diff)
downloadqpid-python-98dc810358814efe57d331cbc276fb8918dd7e0a.tar.gz
Added environment vars to control the host/port used for the qmf tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@734172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/ruby')
-rw-r--r--qpid/ruby/tests/qmf.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/ruby/tests/qmf.rb b/qpid/ruby/tests/qmf.rb
index 75250a7938..8bd9218366 100644
--- a/qpid/ruby/tests/qmf.rb
+++ b/qpid/ruby/tests/qmf.rb
@@ -28,7 +28,8 @@ class QmfTest < Test::Unit::TestCase
# Make sure errors in threads lead to a noisy death of the test
Thread.abort_on_exception = true
- sock = TCPSocket.new('localhost', 5672)
+ sock = TCPSocket.new(ENV.fetch("QMF_TEST_HOST", 'localhost'),
+ ENV.fetch("QMF_TEST_PORT", 5672))
@conn = Qpid::Connection.new(sock)
@conn.start()