diff options
author | Jose <jose@zeroc.com> | 2009-01-26 18:59:37 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-01-26 18:59:37 +0100 |
commit | 4cee2e16bafdd11f4a5ad2f35d75eb869b2c72fa (patch) | |
tree | 7186aa9148abf547da8b4ec81b1af57e8b496ee9 /cpp | |
parent | Minor fix (diff) | |
download | ice-4cee2e16bafdd11f4a5ad2f35d75eb869b2c72fa.tar.bz2 ice-4cee2e16bafdd11f4a5ad2f35d75eb869b2c72fa.tar.xz ice-4cee2e16bafdd11f4a5ad2f35d75eb869b2c72fa.zip |
Squashed commit of the following:
commit 383ca2a6cdde92fc538b056548d8cea7e3eb83a8
Author: Jose Gutierrez <jose@zeroc.com>
Date: Mon Jan 26 18:53:56 2009 +0100
3655 - fixed test/Ice/adapterDeactivation/AllTests.cpp to use system assigned ports
Diffstat (limited to '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 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; } |