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