You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2009/01/13 17:34:05 UTC
svn commit: r734172 - /qpid/trunk/qpid/ruby/tests/qmf.rb
Author: rhs
Date: Tue Jan 13 08:33:52 2009
New Revision: 734172
URL: http://svn.apache.org/viewvc?rev=734172&view=rev
Log:
Added environment vars to control the host/port used for the qmf tests.
Modified:
qpid/trunk/qpid/ruby/tests/qmf.rb
Modified: qpid/trunk/qpid/ruby/tests/qmf.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/ruby/tests/qmf.rb?rev=734172&r1=734171&r2=734172&view=diff
==============================================================================
--- qpid/trunk/qpid/ruby/tests/qmf.rb (original)
+++ qpid/trunk/qpid/ruby/tests/qmf.rb Tue Jan 13 08:33:52 2009
@@ -28,7 +28,8 @@
# 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()