diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2009-01-13 16:33:52 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2009-01-13 16:33:52 +0000 |
| commit | aa5745b6adde680eb12d6c6c6e94e6118094ed91 (patch) | |
| tree | 9edd20347c3309bceb092693007c76a8bc736c12 /ruby/tests | |
| parent | 645ecae120b8c7619cf62285069dbf8942419ba5 (diff) | |
| download | qpid-python-aa5745b6adde680eb12d6c6c6e94e6118094ed91.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/qpid@734172 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'ruby/tests')
| -rw-r--r-- | ruby/tests/qmf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/tests/qmf.rb b/ruby/tests/qmf.rb index 75250a7938..8bd9218366 100644 --- a/ruby/tests/qmf.rb +++ b/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() |
