dsdb: Disable tombstone_reanimation module until we isolate what causes flaky tests
authorKamen Mazdrashki <kamenim@samba.org>
Sat, 30 May 2015 23:10:34 +0000 (02:10 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 Jul 2015 04:18:13 +0000 (06:18 +0200)
Change-Id: I323a2cd5eb2449a44a9cb53abab5a127d21c5967
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/samba_dsdb.c
source4/dsdb/samdb/ldb_modules/tombstone_reanimate.c
source4/selftest/tests.py

index 75553ad42e0260656141b168297ec04aa37fccb6..26c583ef58a16fd6d8ce6704352d9b73f50eb79e 100644 (file)
@@ -273,7 +273,6 @@ static int samba_dsdb_init(struct ldb_module *module)
                                             NULL };
        /* extended_dn_in or extended_dn_in_openldap goes here */
        static const char *modules_list1a[] = {"objectclass",
-                                            "tombstone_reanimate",
                                             "descriptor",
                                             "acl",
                                             "aclread",
index add6c572ec8430479cf8ed1b75cb16c3a2d766a1..0c6c500c7e96794e6297b6e89a71dfac9a6def81 100644 (file)
@@ -426,5 +426,13 @@ static const struct ldb_module_ops ldb_reanimate_module_ops = {
 int ldb_tombstone_reanimate_module_init(const char *version)
 {
        LDB_MODULE_CHECK_VERSION(version);
+       /*
+        * Skip module registration for now.
+        * In order to enable the module again, it should be
+        * included in samba_dsdb.c between "objectclass" and
+        * "descriptor" modules.
        return ldb_register_module(&ldb_reanimate_module_ops);
+       */
+       DEBUG(5,("Module 'tombstone_reanimate' is disabled. Skip registration."));
+       return LDB_SUCCESS;
 }
index 7c9a61c70cf3bec3caab42ccc8b399dfbcd859b7..6a30164e932fc8717b7213c07bdf580c03de2a86 100755 (executable)
@@ -502,11 +502,6 @@ for env in ["ad_dc_ntvfs", "fl2000dc", "fl2003dc", "fl2008r2dc"]:
         # 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'])
-    planoldpythontestsuite(env, "tombstone_reanimation",
-                           name="samba4.tombstone_reanimation.python",
-                           environ={'TEST_SERVER': '$SERVER', 'TEST_USERNAME': '$USERNAME', 'TEST_PASSWORD': '$PASSWORD'},
-                           extra_path=[os.path.join(samba4srcdir, 'dsdb/tests/python')]
-                           )
 
 planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.upgradeprovisionneeddc")
 planpythontestsuite("ad_dc:local", "samba.tests.posixacl")