selftest: Use a longer self.account_lockout_duration and self.lockout_observation_window
authorAndrew Bartlett <abartlet@samba.org>
Tue, 3 Jul 2018 00:28:27 +0000 (12:28 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 Jul 2018 10:29:31 +0000 (12:29 +0200)
This matches the changes made in the PSO tests and slows down the
whole testsuite but may make it more reliable on slower build hosts.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jul  5 12:29:31 CEST 2018 on sn-devel-144

source4/dsdb/tests/python/password_lockout_base.py

index de70140db5b9bb8e533d0048fe5fb3e0b2bf0523..4a3206847028e597cc4b243b2b1febe288ab4f94 100644 (file)
@@ -323,8 +323,8 @@ lockoutThreshold: """ + str(lockoutThreshold) + """
 """)
 
         self.base_dn = self.ldb.domain_dn()
-        self.account_lockout_duration = 2
-        self.lockout_observation_window = 2
+        self.account_lockout_duration = 3
+        self.lockout_observation_window = 3
         self.update_lockout_settings(threshold=3,
                                      duration=self.account_lockout_duration,
                                      observation_window=self.lockout_observation_window)