1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Gary Lockyer 2021-04-22 10:03:53 +02:00 committed by Andreas Schneider
parent 993ae77fba
commit 84cf5c15f9

View File

@ -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);