]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Increase account lockout windows to make test more realiable
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 20 Sep 2021 04:27:40 +0000 (16:27 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 20 Oct 2021 12:02:33 +0000 (12:02 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14868

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/tests/python/rodc_rwdc.py

index 9aab24a8cafaca9c508d2dad979cfe4ce5dc3d7c..74e0773abc37fcc7919bd76ab14db5d9345f436a 100644 (file)
@@ -288,14 +288,14 @@ class RodcRwdcCachedTests(password_lockout_base.BasePasswordTestCase):
         m = ldb.Message()
         m.dn = ldb.Dn(self.ldb, self.base_dn)
 
-        self.account_lockout_duration = 10
+        self.account_lockout_duration = 15
         account_lockout_duration_ticks = -int(self.account_lockout_duration * (1e7))
 
         m["lockoutDuration"] = ldb.MessageElement(str(account_lockout_duration_ticks),
                                                   ldb.FLAG_MOD_REPLACE,
                                                   "lockoutDuration")
 
-        self.lockout_observation_window = 10
+        self.lockout_observation_window = 15
         lockout_observation_window_ticks = -int(self.lockout_observation_window * (1e7))
 
         m["lockOutObservationWindow"] = ldb.MessageElement(str(lockout_observation_window_ticks),