summaryrefslogtreecommitdiff
path: root/python/test/Ice/ami/Collocated.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/ami/Collocated.py')
-rwxr-xr-xpython/test/Ice/ami/Collocated.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Ice/ami/Collocated.py b/python/test/Ice/ami/Collocated.py
index 0b449be5866..b34af35d6f2 100755
--- a/python/test/Ice/ami/Collocated.py
+++ b/python/test/Ice/ami/Collocated.py
@@ -28,8 +28,8 @@ class Collocated(TestHelper):
with self.initialize(properties=properties) as communicator:
- communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010")
- communicator.getProperties().setProperty("ControllerAdapter.Endpoints", "default -p 12011")
+ communicator.getProperties().setProperty("TestAdapter.Endpoints", self.getTestEndpoint())
+ communicator.getProperties().setProperty("ControllerAdapter.Endpoints", self.getTestEndpoint(num=1))
communicator.getProperties().setProperty("ControllerAdapter.ThreadPool.Size", "1")
adapter = communicator.createObjectAdapter("TestAdapter")