From: Michael Graff Date: Wed, 26 Jul 2000 19:07:36 +0000 (+0000) Subject: set isc_mem_debugging = 2 X-Git-Tag: v9.2.0a1^10~6 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9c3903a58a4baa93df8523196c23abf0b0b2785a;p=thirdparty%2Fbind9.git set isc_mem_debugging = 2 --- diff --git a/bin/tests/mempool_test.c b/bin/tests/mempool_test.c index de178a5982c..3538effea7a 100644 --- a/bin/tests/mempool_test.c +++ b/bin/tests/mempool_test.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: mempool_test.c,v 1.7 2000/06/22 21:50:32 tale Exp $ */ +/* $Id: mempool_test.c,v 1.8 2000/07/26 19:07:36 explorer Exp $ */ #include @@ -36,6 +36,8 @@ main(int argc, char *argv[]) { UNUSED(argc); UNUSED(argv); + isc_mem_debugging = 2; + RUNTIME_CHECK(isc_mutex_init(&lock) == ISC_R_SUCCESS); mctx = NULL; @@ -91,7 +93,7 @@ main(int argc, char *argv[]) { */ isc_mempool_setfreemax(mp2, 25); isc_mempool_setfillcount(mp2, 25); - for (j = 0 ; j < 500000 ; j++) { + for (j = 0 ; j < 5000 ; j++) { for (i = 0 ; i < 50 ; i++) { items2[i] = isc_mempool_get(mp2); RUNTIME_CHECK(items2[i] != NULL);