ldb tests: Fix ldb_lmdb_size_test
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 26 Aug 2019 04:34:29 +0000 (16:34 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Aug 2019 23:59:36 +0000 (23:59 +0000)
commit41aaeaf1fe921311f183d5c08ff121a9ccc4c5b4
tree5bc4be35f9bf75a85cc0326c1e2a3ee3f79de9af
parent085e179dcb6a06f664d5447a2bee287f0a3698f4
ldb tests: Fix ldb_lmdb_size_test

Fix the lmdb size test which ensures that databases > 4GiB can be
written by the lmdb backend.  This test is not run as part of the normal
CI run as it exhausts the available disk on the test runners.

It was broken by changes to LDB allowing the lmdb map size to be
specified, and requiring GUID indexing by default.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/tests/ldb_lmdb_size_test.c