summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/adapterDeactivation/AllTests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/adapterDeactivation/AllTests.cpp b/cpp/test/Ice/adapterDeactivation/AllTests.cpp
index a9d206f5189..03fba86f2f3 100644
--- a/cpp/test/Ice/adapterDeactivation/AllTests.cpp
+++ b/cpp/test/Ice/adapterDeactivation/AllTests.cpp
@@ -32,10 +32,10 @@ allTests(const CommunicatorPtr& communicator)
{
cout << "creating/destroying/recreating object adapter... " << flush;
ObjectAdapterPtr adapter =
- communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default -p 9999");
+ communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default");
try
{
- communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default -p 9998");
+ communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default");
test(false);
}
catch(const AlreadyRegisteredException&)
@@ -46,7 +46,7 @@ allTests(const CommunicatorPtr& communicator)
//
// Use a different port than the first adapter to avoid an "address already in use" error.
//
- adapter = communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default -p 9998");
+ adapter = communicator->createObjectAdapterWithEndpoints("TransientTestAdapter", "default");
adapter->destroy();
cout << "ok" << endl;
}