From 98dc810358814efe57d331cbc276fb8918dd7e0a Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 13 Jan 2009 16:33:52 +0000 Subject: 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 --- qpid/ruby/tests/qmf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/ruby/tests') 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() -- cgit v1.2.1