From: Gary Lockyer Date: Thu, 22 Apr 2021 08:03:53 +0000 (+0200) Subject: lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream X-Git-Tag: tevent-0.11.0~1043 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84cf5c15f9e9a645579ed9b7c3ab238568cbc015;p=thirdparty%2Fsamba.git lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream Signed-off-by: Gary Lockyer Reviewed-by: Andreas Schneider --- diff --git a/lib/ldb/tests/ldb_lmdb_free_list_test.c b/lib/ldb/tests/ldb_lmdb_free_list_test.c index 9b295460730..c87620e7a87 100644 --- a/lib/ldb/tests/ldb_lmdb_free_list_test.c +++ b/lib/ldb/tests/ldb_lmdb_free_list_test.c @@ -77,7 +77,7 @@ #endif /* TEST_BE */ const int RECORD_SIZE = 6144; -const int ITERATIONS = 3; +const int ITERATIONS = 192; struct test_ctx { struct tevent_context *ev; @@ -155,9 +155,9 @@ static int setup(void **state) "@IDX_DN_GUID: GUID\n" "\n"; /* - * Use a 64KiB DB for this test + * Use a 1MiB DB for this test */ - const char *options[] = {"lmdb_env_size:65536", NULL}; + const char *options[] = {"lmdb_env_size:1048576", NULL}; noconn_setup((void **)&test_ctx);