diff options
Diffstat (limited to 'cpp/test/Ice/adapterDeactivation/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/adapterDeactivation/AllTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/adapterDeactivation/AllTests.cpp b/cpp/test/Ice/adapterDeactivation/AllTests.cpp index b46f52d806b..3d558b88ab1 100644 --- a/cpp/test/Ice/adapterDeactivation/AllTests.cpp +++ b/cpp/test/Ice/adapterDeactivation/AllTests.cpp @@ -19,7 +19,7 @@ TestIntfPrxPtr allTests(const CommunicatorPtr& communicator) { cout << "testing stringToProxy... " << flush; - ObjectPrxPtr base = communicator->stringToProxy("test:default -p 12010"); + ObjectPrxPtr base = communicator->stringToProxy("test:" + getTestEndpoint(communicator, 0)); test(base); cout << "ok" << endl; @@ -69,9 +69,9 @@ allTests(const CommunicatorPtr& communicator) initData.properties = communicator->getProperties()->clone(); Ice::CommunicatorHolder comm = Ice::initialize(initData); #ifdef ICE_CPP11_MAPPING - comm->stringToProxy("test:default -p 12010")->ice_ping_async(); + comm->stringToProxy("test:" + getTestEndpoint(communicator, 0))->ice_ping_async(); #else - comm->stringToProxy("test:default -p 12010")->begin_ice_ping(); + comm->stringToProxy("test:" + getTestEndpoint(communicator, 0))->begin_ice_ping(); #endif } cout << "ok" << endl; |