diff options
Diffstat (limited to 'cpp/test/Ice/binding/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/binding/AllTests.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp index 645cb5fe47c..8846dba22e2 100644 --- a/cpp/test/Ice/binding/AllTests.cpp +++ b/cpp/test/Ice/binding/AllTests.cpp @@ -242,11 +242,7 @@ allTests(const Ice::CommunicatorPtr& communicator) adapters.push_back(com->createObjectAdapter("AdapterRandom14", "default")); adapters.push_back(com->createObjectAdapter("AdapterRandom15", "default")); -#ifdef _WIN32 int count = 20; -#else - int count = 60; -#endif int adapterCount = static_cast<int>(adapters.size()); while(--count > 0) { @@ -256,17 +252,15 @@ allTests(const Ice::CommunicatorPtr& communicator) com->deactivateObjectAdapter(adapters[4]); --adapterCount; } - vector<TestIntfPrxPtr> proxies; - proxies.resize(10); #else - if(count < 60 && count % 10 == 0) + if(count < 20 && count % 4 == 0) { - com->deactivateObjectAdapter(adapters[count / 10 - 1]); + com->deactivateObjectAdapter(adapters[count / 4 - 1]); --adapterCount; } - vector<TestIntfPrxPtr> proxies; - proxies.resize(40); #endif + vector<TestIntfPrxPtr> proxies; + proxies.resize(10); unsigned int i; for(i = 0; i < proxies.size(); ++i) { |