summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/faultTolerance/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/faultTolerance/AllTests.cpp')
-rw-r--r--cpp/test/Ice/faultTolerance/AllTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/faultTolerance/AllTests.cpp b/cpp/test/Ice/faultTolerance/AllTests.cpp
index 5a861677c08..2bb1fbd862b 100644
--- a/cpp/test/Ice/faultTolerance/AllTests.cpp
+++ b/cpp/test/Ice/faultTolerance/AllTests.cpp
@@ -116,7 +116,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const vector<int>& ports)
ref << "test";
for(vector<int>::const_iterator p = ports.begin(); p != ports.end(); ++p)
{
- ref << ":default -p " << *p;
+ ref << ":" << getTestEndpoint(communicator, *p);
}
Ice::ObjectPrxPtr base = communicator->stringToProxy(ref.str());
test(base);
@@ -282,7 +282,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const vector<int>& ports)
#else
cout << "aborting server #" << i << " and #" << i + 1 << " with idempotent AMI call... " << flush;
CallbackPtr cb = new Callback;
- obj->begin_idempotentAbort(newCallback_TestIntf_idempotentAbort(cb, &Callback::response,
+ obj->begin_idempotentAbort(newCallback_TestIntf_idempotentAbort(cb, &Callback::response,
&Callback::exceptAbortI));
cb->check();
cout << "ok" << endl;