summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 12:34:32 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 12:34:32 +0100
commit710e551540f9d1a24c7808ae0172ddce2e39f717 (patch)
treebe9ca2db49c46f1bb1925e76a77f07ac9749340b
parent3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (diff)
downloadATCD-710e551540f9d1a24c7808ae0172ddce2e39f717.tar.gz
Reduce size of blocks
* ACE/tests/New_Fail_Test.cpp:
-rw-r--r--ACE/tests/New_Fail_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/New_Fail_Test.cpp b/ACE/tests/New_Fail_Test.cpp
index 5385028bbe9..589bcf93bc0 100644
--- a/ACE/tests/New_Fail_Test.cpp
+++ b/ACE/tests/New_Fail_Test.cpp
@@ -34,10 +34,10 @@
// Most we can do, by half. Using max alone gets "invalid allocation size"
// messages on stdout on Windows.
-static const size_t BIG_BLOCK = ACE_Numeric_Limits<size_t>::max () / 3;
+static const size_t BIG_BLOCK = ACE_Numeric_Limits<size_t>::max () / 10;
// Shouldn't take many "as much as possible" tries to get a failure.
-static const int MAX_ALLOCS_IN_TEST = 4;
+static const int MAX_ALLOCS_IN_TEST = 20;
static void
try_ace_new (char **p)