summaryrefslogtreecommitdiff
path: root/ruby/test/Ice/timeout/AllTests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/test/Ice/timeout/AllTests.rb')
-rw-r--r--ruby/test/Ice/timeout/AllTests.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/ruby/test/Ice/timeout/AllTests.rb b/ruby/test/Ice/timeout/AllTests.rb
index 0d2cdd9a99d..cba928f117e 100644
--- a/ruby/test/Ice/timeout/AllTests.rb
+++ b/ruby/test/Ice/timeout/AllTests.rb
@@ -21,15 +21,16 @@ def connect(prx)
return prx.ice_getConnection()
end
-def allTests(communicator)
- sref = "timeout:default -p 12010"
+def allTests(helper, communicator)
+ sref = "timeout:#{helper.getTestEndpoint()}"
obj = communicator.stringToProxy(sref)
test(obj)
timeout = Test::TimeoutPrx::checkedCast(obj)
test(timeout)
- controller = Test::ControllerPrx::checkedCast(communicator.stringToProxy("controller:default -p 12011"))
+ controller = Test::ControllerPrx::checkedCast(
+ communicator.stringToProxy("controller:#{helper.getTestEndpoint(num:1)}"))
test(controller)
print "testing connect timeout... "