From 3fb1aa3074b085273a1a80149527d9ac9b3ef1e5 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 29 Jun 2015 20:27:37 -0600 Subject: [PATCH] t/stest: shrink test size from 128MB We reduced the smalloc size, reduce it in the test cases too. Signed-off-by: Jens Axboe --- t/stest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/stest.c b/t/stest.c index efb256ef..fb519895 100644 --- a/t/stest.c +++ b/t/stest.c @@ -30,7 +30,7 @@ static int do_rand_allocs(void) srand(MAGIC1); #endif nr = total = 0; - while (total < 128*1024*1024UL) { + while (total < 120*1024*1024UL) { size = 8 * sizeof(struct elem) + (int) (999.0 * (rand() / (RAND_MAX + 1.0))); e = smalloc(size); if (!e) { -- 2.25.1