summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/services/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/services/AllTests.cpp')
-rw-r--r--cpp/test/Ice/services/AllTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Ice/services/AllTests.cpp b/cpp/test/Ice/services/AllTests.cpp
index 7720dfaab94..3696729a06b 100644
--- a/cpp/test/Ice/services/AllTests.cpp
+++ b/cpp/test/Ice/services/AllTests.cpp
@@ -143,7 +143,7 @@ allTests(const Ice::CommunicatorPtr& communicator)
{
cout << "Testing IceGrid stub... " << flush;
- Ice::ObjectPrxPtr base = communicator->stringToProxy("test:default -p 12010");
+ Ice::ObjectPrxPtr base = communicator->stringToProxy("test:" + getTestEndpoint(communicator, 0));
IceGrid::RegistryPrxPtr registry = ICE_UNCHECKED_CAST(IceGrid::RegistryPrx, base);
IceGrid::AdminSessionPrxPtr session;
IceGrid::AdminPrxPtr admin;