diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-07-24 12:31:42 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-07-24 16:54:02 +0200 |
commit | eabc1732ef91548616a699b7e9f8d30e5e7b8dd3 (patch) | |
tree | e331885a97ff1098b057036637a236ffeec2ee6b /src/tests/intg | |
parent | b0a8ed519554f8896e35812e0759862c33f157fe (diff) | |
download | sssd-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>
Diffstat (limited to 'src/tests/intg')
-rw-r--r-- | src/tests/intg/ldap_test.py | 1 |
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): |