summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-24 12:31:42 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-07-24 16:54:02 +0200
commiteabc1732ef91548616a699b7e9f8d30e5e7b8dd3 (patch)
treee331885a97ff1098b057036637a236ffeec2ee6b
parentb0a8ed519554f8896e35812e0759862c33f157fe (diff)
downloadsssd-eabc1732ef91548616a699b7e9f8d30e5e7b8dd3.tar.gz
sssd-eabc1732ef91548616a699b7e9f8d30e5e7b8dd3.tar.xz
sssd-eabc1732ef91548616a699b7e9f8d30e5e7b8dd3.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):