diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-07-24 12:31:42 +0200 |
---|---|---|
committer | Pavel Březina <pbrezina@redhat.com> | 2015-07-27 17:25:20 +0200 |
commit | 473623463da3f5fcb5ae5fbd657b21d2e9698b3b (patch) | |
tree | 2ea193d5f4ff4e26b6bfcf94ec4163378d4c1014 /src/tests | |
parent | f43f057e7da549d048e743f8735ecfc92481e6c7 (diff) | |
download | sssd-473623463da3f5fcb5ae5fbd657b21d2e9698b3b.tar.gz sssd-473623463da3f5fcb5ae5fbd657b21d2e9698b3b.tar.xz sssd-473623463da3f5fcb5ae5fbd657b21d2e9698b3b.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')
-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): |