diff options
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); } |