From: Stefan Metzmacher Date: Thu, 4 Feb 2016 16:44:05 +0000 (+0100) Subject: s4:selftest: run samba4.ldap.password_lockout.python only against ad_dc_ntvfs X-Git-Tag: tdb-1.3.10~684 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c38a7176810d3d9cf06618c5a530347b53503d77;p=thirdparty%2Fsamba.git 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 Reviewed-by: Andrew Bartlett --- 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")