summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-02-04 17:44:05 +0100
committerAndrew Bartlett <abartlet@samba.org>2016-06-27 05:00:16 +0200
commitc38a7176810d3d9cf06618c5a530347b53503d77 (patch)
tree0947a3fe443a7184ec7c5b4daaa4ed4c8cb63d86 /source4/selftest
parente2a0dd977078fe67e83d7f37639729fcbbe8deda (diff)
downloadsamba-c38a7176810d3d9cf06618c5a530347b53503d77.tar.gz
s4:selftest: run samba4.ldap.password_lockout.python only against ad_dc_ntvfs
This test runs over 4-5 mins. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index a60b72f801b..c3a3914fb1f 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -592,7 +592,12 @@ for env in ["ad_dc_ntvfs", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
# isn't available on DCs with Windows 2000 domain function level -
# therefore skip it in that configuration
plantestsuite_loadlist("samba4.ldap.passwords.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/passwords.py"), "$SERVER", '-U"$USERNAME%$PASSWORD"', "-W$DOMAIN", '$LOADLIST', '$LISTOPT'])
- plantestsuite_loadlist("samba4.ldap.password_lockout.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/password_lockout.py"), "$SERVER", '-U"$USERNAME%$PASSWORD"', "-W$DOMAIN", "--realm=$REALM", '$LOADLIST', '$LISTOPT'])
+
+for env in ["ad_dc_ntvfs"]:
+ # This test takes a lot of time, so we run it against a minimum of
+ # environments, please only add new ones if there's really a
+ # difference we need to test
+ plantestsuite_loadlist("samba4.ldap.password_lockout.python(%s)" % env, env, [python, os.path.join(samba4srcdir, "dsdb/tests/python/password_lockout.py"), "$SERVER", '-U"$USERNAME%$PASSWORD"', "-W$DOMAIN", "--realm=$REALM", '$LOADLIST', '$LISTOPT'])
planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.upgradeprovisionneeddc")
planpythontestsuite("ad_dc:local", "samba.tests.posixacl")