mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
tests/krb5: Don’t cache accounts with an assigned policy or silo
Such accounts are virtually never reused. Not caching them (thus deleting them early) grants significant time savings. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
dc0d96b058
commit
b1b7d7561a
@ -130,8 +130,10 @@ class AuthnPolicyTests(KdcTgsBaseTests):
|
||||
members += (member_of,)
|
||||
if assigned_policy is not None:
|
||||
opts['assigned_policy'] = str(assigned_policy)
|
||||
cached = False # Policies are rarely reused between accounts.
|
||||
if assigned_silo is not None:
|
||||
opts['assigned_silo'] = str(assigned_silo)
|
||||
cached = False # Silos are rarely reused between accounts.
|
||||
if allowed_rodc:
|
||||
opts['allowed_replication_mock'] = True
|
||||
opts['revealed_to_mock_rodc'] = True
|
||||
|
Loading…
Reference in New Issue
Block a user