summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2006-02-20 19:30:02 +0000
committerBrent Eagles <brent@zeroc.com>2006-02-20 19:30:02 +0000
commit69ee255be9ce374075d1a31020b48de7788374e1 (patch)
treedc3a4e00a8407905447e79a78d11800bb616b2c4 /cpp/test/Ice/exceptions
parent- Removed unused collocation optimization code. (diff)
downloadice-69ee255be9ce374075d1a31020b48de7788374e1.tar.bz2
ice-69ee255be9ce374075d1a31020b48de7788374e1.tar.xz
ice-69ee255be9ce374075d1a31020b48de7788374e1.zip
Changing demo and test port numbers.
Diffstat (limited to 'cpp/test/Ice/exceptions')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp4
-rw-r--r--cpp/test/Ice/exceptions/Collocated.cpp2
-rw-r--r--cpp/test/Ice/exceptions/Server.cpp2
-rw-r--r--cpp/test/Ice/exceptions/ServerAMD.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index c4ed6ef4887..c8b6b882485 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -578,7 +578,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
try
{
Ice::ObjectAdapterPtr second =
- communicator->createObjectAdapterWithEndpoints("TestAdapter0", "ssl -h foo -p 12346 -t 10000");
+ communicator->createObjectAdapterWithEndpoints("TestAdapter0", "ssl -h foo -p 12011 -t 10000");
test(false);
}
catch(const Ice::AlreadyRegisteredException&)
@@ -665,7 +665,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
cout << "ok" << endl;
cout << "testing stringToProxy... " << flush;
- string ref = "thrower:default -p 12345 -t 10000";
+ string ref = "thrower:default -p 12010 -t 10000";
Ice::ObjectPrx base = communicator->stringToProxy(ref);
test(base);
cout << "ok" << endl;
diff --git a/cpp/test/Ice/exceptions/Collocated.cpp b/cpp/test/Ice/exceptions/Collocated.cpp
index 94173928cb5..bed496182d7 100644
--- a/cpp/test/Ice/exceptions/Collocated.cpp
+++ b/cpp/test/Ice/exceptions/Collocated.cpp
@@ -16,7 +16,7 @@ using namespace Test;
int
run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
- communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000");
+ communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::ObjectPtr object = new ThrowerI(adapter);
adapter->add(object, Ice::stringToIdentity("thrower"));
diff --git a/cpp/test/Ice/exceptions/Server.cpp b/cpp/test/Ice/exceptions/Server.cpp
index abaca51d19e..4e58d03b226 100644
--- a/cpp/test/Ice/exceptions/Server.cpp
+++ b/cpp/test/Ice/exceptions/Server.cpp
@@ -17,7 +17,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
Ice::PropertiesPtr properties = communicator->getProperties();
properties->setProperty("Ice.Warn.Dispatch", "0");
- communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000:udp");
+ communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::ObjectPtr object = new ThrowerI(adapter);
adapter->add(object, Ice::stringToIdentity("thrower"));
diff --git a/cpp/test/Ice/exceptions/ServerAMD.cpp b/cpp/test/Ice/exceptions/ServerAMD.cpp
index 12858defc46..c781fcc5e53 100644
--- a/cpp/test/Ice/exceptions/ServerAMD.cpp
+++ b/cpp/test/Ice/exceptions/ServerAMD.cpp
@@ -17,7 +17,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
Ice::PropertiesPtr properties = communicator->getProperties();
properties->setProperty("Ice.Warn.Dispatch", "0");
- communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12345 -t 10000:udp");
+ communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::ObjectPtr object = new ThrowerI(adapter);
adapter->add(object, Ice::stringToIdentity("thrower"));