diff options
Diffstat (limited to 'ruby/test/Ice/info/AllTests.rb')
-rw-r--r-- | ruby/test/Ice/info/AllTests.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ruby/test/Ice/info/AllTests.rb b/ruby/test/Ice/info/AllTests.rb index 7e86bd724cc..de22b967724 100644 --- a/ruby/test/Ice/info/AllTests.rb +++ b/ruby/test/Ice/info/AllTests.rb @@ -25,7 +25,7 @@ def getTCPConnectionInfo(info) end end -def allTests(communicator) +def allTests(helper, communicator) print "testing proxy endpoint information..." STDOUT.flush @@ -72,7 +72,9 @@ def allTests(communicator) puts "ok" defaultHost = communicator.getProperties().getProperty("Ice.Default.Host") - base = communicator.stringToProxy("test:default -p 12010:udp -p 12010") + tcpEndpoint = helper.getTestEndpoint() + udpEndpoint = helper.getTestEndpoint(protocol:"udp") + base = communicator.stringToProxy("test:#{tcpEndpoint}:#{udpEndpoint}") testIntf = Test::TestIntfPrx::checkedCast(base) print "test connection endpoint information..." |