ldb: Ensure we do not run out of File descriptors in autobuild
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Sep 2017 02:15:32 +0000 (14:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:25 +0000 (21:20 +0200)
commit644b3ffb14252f2a2dfe282b5d748b6ea86325e1
treef164f6c64e9666e36f5bf94d1772678a272ea194
parenta0b46ecdd2481699ce91c2636d4eac9067f8f69e
ldb: Ensure we do not run out of File descriptors in autobuild

The python TestCase API will keep a reference to the test object until the end
of the tests, long after we need the actual LDB or the fd.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/tests/python/api.py