summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-24 12:31:42 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-08-04 14:38:55 +0200
commitdaf44387652fe46a2c8e694720f6b14436a6f31f (patch)
treebef59f3b6b845f1e57d959473dfc9bde7949145b
parentb211247a005257a4e2dec0d43b719600c51a14d4 (diff)
downloadsssd-daf44387652fe46a2c8e694720f6b14436a6f31f.tar.gz
sssd-daf44387652fe46a2c8e694720f6b14436a6f31f.tar.xz
sssd-daf44387652fe46a2c8e694720f6b14436a6f31f.zip
intg: Invalidate memory cache before removing files
Workaround for: https://fedorahosted.org/sssd/ticket/2726 Reviewed-by: Michal Židek <mzidek@redhat.com>
-rw-r--r--src/tests/intg/ldap_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/intg/ldap_test.py b/src/tests/intg/ldap_test.py
index afc77d702..bfe4e65ee 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):