dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0028-intg-Invalidate-memory-cache-before-removing-files.patch

6cf099
From daf44387652fe46a2c8e694720f6b14436a6f31f Mon Sep 17 00:00:00 2001
6cf099
From: Lukas Slebodnik <lslebodn@redhat.com>
6cf099
Date: Fri, 24 Jul 2015 12:31:42 +0200
6cf099
Subject: [PATCH 28/37] intg: Invalidate memory cache before removing files
6cf099
MIME-Version: 1.0
6cf099
Content-Type: text/plain; charset=UTF-8
6cf099
Content-Transfer-Encoding: 8bit
6cf099
6cf099
Workaround for:
6cf099
https://fedorahosted.org/sssd/ticket/2726
6cf099
6cf099
Reviewed-by: Michal Židek <mzidek@redhat.com>
6cf099
---
6cf099
 src/tests/intg/ldap_test.py | 1 +
6cf099
 1 file changed, 1 insertion(+)
6cf099
6cf099
diff --git a/src/tests/intg/ldap_test.py b/src/tests/intg/ldap_test.py
6cf099
index afc77d7023ea31757def84f21e5d15997ba72013..bfe4e65ee54e232cd37d91f8ca5b6e9edf42b49d 100644
6cf099
--- a/src/tests/intg/ldap_test.py
6cf099
+++ b/src/tests/intg/ldap_test.py
6cf099
@@ -90,6 +90,7 @@ def create_sssd_fixture(request):
6cf099
                 time.sleep(1)
6cf099
         except:
6cf099
             pass
6cf099
+        subprocess.call(["sss_cache", "-E"])
6cf099
         for path in os.listdir(config.DB_PATH):
6cf099
             os.unlink(config.DB_PATH + "/" + path)
6cf099
         for path in os.listdir(config.MCACHE_PATH):
6cf099
-- 
6cf099
2.4.3
6cf099