summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/optional/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/optional/Server.cpp')
-rw-r--r--cpp/test/Ice/optional/Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/optional/Server.cpp b/cpp/test/Ice/optional/Server.cpp
index 48d5017f48b..8460539df79 100644
--- a/cpp/test/Ice/optional/Server.cpp
+++ b/cpp/test/Ice/optional/Server.cpp
@@ -19,7 +19,7 @@ using namespace Test;
int
run(int, char**, const Ice::CommunicatorPtr& communicator)
{
- communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010");
+ communicator->getProperties()->setProperty("TestAdapter.Endpoints", getTestEndpoint(communicator, 0));
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
adapter->add(new InitialI(), communicator->stringToIdentity("initial"));
adapter->activate();