diff options
Diffstat (limited to 'python/test/Ice/faultTolerance/AllTests.py')
-rw-r--r-- | python/test/Ice/faultTolerance/AllTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/test/Ice/faultTolerance/AllTests.py b/python/test/Ice/faultTolerance/AllTests.py index ddee51dc48b..cfd6d4421d8 100644 --- a/python/test/Ice/faultTolerance/AllTests.py +++ b/python/test/Ice/faultTolerance/AllTests.py @@ -60,12 +60,12 @@ class Callback(CallbackBase): def pid(self): return self._pid -def allTests(communicator, ports): +def allTests(helper, communicator, ports): sys.stdout.write("testing stringToProxy... ") sys.stdout.flush() ref = "test" - for p in ports: - ref = ref + ":default -p " + str(p) + for i in range(len(ports)): + ref += ":{0}".format(helper.getTestEndpoint(num=i)) base = communicator.stringToProxy(ref) test(base) print("ok") |