qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r734172 - /qpid/trunk/qpid/ruby/tests/qmf.rb
Date Tue, 13 Jan 2009 16:34:05 GMT
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()



Mime
View raw message