diff options
author | Marc Laukien <marc@zeroc.com> | 2002-11-27 21:48:35 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-11-27 21:48:35 +0000 |
commit | c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d (patch) | |
tree | 4825cb0dae9651fe2f0376ba63947de800aca5a7 /cpp/test/Ice/operations/Client.cpp | |
parent | - Added host attribute to DNSException (diff) | |
download | ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.bz2 ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.tar.xz ice-c2d4efeee15f86fffef7c4c70c7d3da2c6f0b70d.zip |
added ami
Diffstat (limited to 'cpp/test/Ice/operations/Client.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Client.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/test/Ice/operations/Client.cpp b/cpp/test/Ice/operations/Client.cpp index 84f2237b6b0..eb81158d5a7 100644 --- a/cpp/test/Ice/operations/Client.cpp +++ b/cpp/test/Ice/operations/Client.cpp @@ -21,8 +21,8 @@ using namespace std; int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { - Test::MyClassPrx allTests(const Ice::CommunicatorPtr&); - Test::MyClassPrx myClass = allTests(communicator); + Test::MyClassPrx allTests(const Ice::CommunicatorPtr&, bool); + Test::MyClassPrx myClass = allTests(communicator, false); cout << "testing server shutdown... " << flush; myClass->shutdown(); @@ -47,6 +47,9 @@ main(int argc, char* argv[]) try { + Ice::PropertiesPtr properties = Ice::getDefaultProperties(); + properties->setProperty("Ice.ThreadPool.Client.Size", "2"); // For nested AMI. + communicator = Ice::initialize(argc, argv); status = run(argc, argv, communicator); } |