summaryrefslogtreecommitdiff
path: root/python/test/Glacier2/application/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Glacier2/application/Server.py')
-rw-r--r--python/test/Glacier2/application/Server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test/Glacier2/application/Server.py b/python/test/Glacier2/application/Server.py
index 7b32c1689b9..25c69c16ff7 100644
--- a/python/test/Glacier2/application/Server.py
+++ b/python/test/Glacier2/application/Server.py
@@ -27,10 +27,10 @@ class Server(TestHelper):
def run(self, args):
with self.initialize(args=args) as communicator:
- communicator.getProperties().setProperty("DeactivatedAdapter.Endpoints", "default -p 12011")
+ communicator.getProperties().setProperty("DeactivatedAdapter.Endpoints", self.getTestEndpoint(num=1))
communicator.createObjectAdapter("DeactivatedAdapter")
- communicator.getProperties().setProperty("CallbackAdapter.Endpoints", "default -p 12010")
+ communicator.getProperties().setProperty("CallbackAdapter.Endpoints", self.getTestEndpoint())
adapter = communicator.createObjectAdapter("CallbackAdapter")
adapter.add(CallbackI(), Ice.stringToIdentity("callback"))
adapter.activate()