selftest: Move some KDS root key tests around to prepare for gMSA server side
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Apr 2024 04:26:49 +0000 (16:26 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 16 Apr 2024 03:58:31 +0000 (03:58 +0000)
commitc9370d3ced2fb32bd42883366b4400c65f18512f
tree497664e1e82de609187f39d5057a1a4cc92592ea
parentbd60c605ca1cf3f3568646dc3c0ca3501f0bfbec
selftest: Move some KDS root key tests around to prepare for gMSA server side

Once we have a gMSA server side the impact of deleting root keys becomes real
and so we must do this in a quiet place where it can not impact on other things.

Likewise, we want the samba.tests.dsdb_quiet_provision_tests tests to run
somewhere that is not doing other things, so we can see what a bare provision
will do.  We must not allow test ordering inside the file to cause tests that
create root keys to run before checking if provision created a usable root key.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
python/samba/tests/dsdb_quiet_env_tests.py [new file with mode: 0644]
python/samba/tests/dsdb_quiet_provision_tests.py
source4/selftest/tests.py