From: Phil Carmody Date: Tue, 19 Jun 2018 10:29:46 +0000 (+0300) Subject: lib-http: increase pool sizes in tests X-Git-Tag: 2.3.9~1491 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c6d395e43b8606da7557377a1315993c675805;p=thirdparty%2Fdovecot%2Fcore.git lib-http: increase pool sizes in tests Pool growth messages spam the test output, just dive in with a slightly larger default to shut them up. Only affects these individual tests, not any other users of the library. Signed-off-by: Phil Carmody --- diff --git a/src/lib-http/test-http-payload.c b/src/lib-http/test-http-payload.c index d00fe19613..1bc6d78cdc 100644 --- a/src/lib-http/test-http-payload.c +++ b/src/lib-http/test-http-payload.c @@ -563,7 +563,7 @@ static void client_init(int fd) net_set_nonblock(fd, TRUE); - pool = pool_alloconly_create("client", 256); + pool = pool_alloconly_create("client", 512); client = p_new(pool, struct client, 1); client->pool = pool; diff --git a/src/lib-http/test-http-server-errors.c b/src/lib-http/test-http-server-errors.c index c19f28668c..0398a8fb97 100644 --- a/src/lib-http/test-http-server-errors.c +++ b/src/lib-http/test-http-server-errors.c @@ -613,7 +613,7 @@ client_connection_init(const struct ip_addr *ip, in_port_t port) struct client_connection *conn; pool_t pool; - pool = pool_alloconly_create("client connection", 256); + pool = pool_alloconly_create("client connection", 512); conn = p_new(pool, struct client_connection, 1); conn->pool = pool;