]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: increase pool sizes in tests
authorPhil Carmody <phil@dovecot.fi>
Tue, 19 Jun 2018 10:29:46 +0000 (13:29 +0300)
committerPhil Carmody <phil@dovecot.fi>
Thu, 30 Aug 2018 10:26:52 +0000 (13:26 +0300)
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 <phil@dovecot.fi>
src/lib-http/test-http-payload.c
src/lib-http/test-http-server-errors.c

index d00fe196139c11e274c92a7299b1b1c6309c30ce..1bc6d78cdc852e8d794f85180ab7a9daf50eb60a 100644 (file)
@@ -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;
 
index c19f28668c869c6d4ea28696218902cbd598e491..0398a8fb9763780eb3e84f1ef63bb7a3dabc3fd3 100644 (file)
@@ -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;