summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/StartTest.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-05-31 11:30:02 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-05-31 11:30:02 +0200
commitadecf3c07e60dd91e0674e423844c6c2524bf362 (patch)
tree9c635242fd27a2e38ec2385c930f32ad97e2c349 /cpp/test/IceUtil/thread/StartTest.cpp
parentICE-7908 - Switch back to npm (diff)
downloadice-adecf3c07e60dd91e0674e423844c6c2524bf362.tar.bz2
ice-adecf3c07e60dd91e0674e423844c6c2524bf362.tar.xz
ice-adecf3c07e60dd91e0674e423844c6c2524bf362.zip
Fix for ICE-7933 - reduced number of threads created by thread start test
Diffstat (limited to 'cpp/test/IceUtil/thread/StartTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/StartTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/thread/StartTest.cpp b/cpp/test/IceUtil/thread/StartTest.cpp
index 6f4f8d86941..355f2ee4dca 100644
--- a/cpp/test/IceUtil/thread/StartTest.cpp
+++ b/cpp/test/IceUtil/thread/StartTest.cpp
@@ -60,9 +60,9 @@ StartTest::run()
//
// Now let's create a bunch of short-lived threads
//
- for(int i = 0; i < 50; i++)
+ for(int i = 0; i < 40; i++)
{
- for(int j = 0; j < 50; j++)
+ for(int j = 0; j < 40; j++)
{
Thread* t = new StartTestThread;
t->start().detach();