selftest: close connections after tests in samba4.ldap.acl.python
authorJamie McClymont <jamiemcclymont@catalyst.net.nz>
Mon, 8 Jan 2018 00:24:25 +0000 (13:24 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Jan 2018 02:34:18 +0000 (03:34 +0100)
commitbabf0a7bef893873af35751b7a8c081d86d2ff6b
tree99488e967fb671ad17bc845021950dde3fc31d80
parenteae6d76a366fdd7cfa65a5cf804759a1889976c8
selftest: close connections after tests in samba4.ldap.acl.python

Over the length of a run of this suite (which runs under the standard process
model), memory usage from LDAP connection handlers reaches 4GB. This patch
reduces it to a manageable amount.

Signed-off-by: Jamie McClymont <jamiemcclymont@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/tests/python/acl.py