selftest: Use setUpClass() to reduce "make test TESTS=large_ldap" time
commitb4a6c054ec6acefacd22cb7230a783d20cb07c05
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Mar 2023 04:20:00 +0000 (13 17:20 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Mar 2023 07:16:04 +0000 (14 07:16 +0000)
tree3fe21cd840fc279e10c3b0c321f0c80dc2ab5ccf
parentcad96f59a08192df927fb1df4e9787c7f70991a2
selftest: Use setUpClass() to reduce "make test TESTS=large_ldap" time

This reduces the elapsed time to 6m from 20m on my laptop.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15332

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Mar 14 07:16:04 UTC 2023 on atb-devel-224
source4/dsdb/tests/python/large_ldap.py