]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 22 Apr 2021 08:03:53 +0000 (10:03 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 23 Apr 2021 07:35:32 +0000 (07:35 +0000)
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/ldb/tests/ldb_lmdb_free_list_test.c

index 9b2954607309f8c4a70240654d8e3365e4f28e86..c87620e7a8754a97c0275795d348e6eae26a621e 100644 (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);