summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/exceptions/Collocated.cpp')
-rw-r--r--cpp/test/Ice/exceptions/Collocated.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp
index 6751f82ece4..54f18c1ae99 100644
--- a/cpp/test/Ice/exceptions/Collocated.cpp
+++ b/cpp/test/Ice/exceptions/Collocated.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");
Ice::ObjectPtr object = ICE_MAKE_SHARED(ThrowerI);
adapter->add(object, communicator->stringToIdentity("thrower"));