[SSSD] [PATCH] intg: Invalidate memory cache before removing files
Lukas Slebodnik
lslebodn at redhat.com
Fri Jul 24 10:34:57 UTC 2015
ehlo,
attached is a workaround in integration tests for ticket #2726
LS
-------------- next part --------------
>From 1b3abcbdb0b5ce689992be382821c97ab86c8681 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Fri, 24 Jul 2015 12:31:42 +0200
Subject: [PATCH] intg: Invalidate memory cache before removing files
Workaround for:
https://fedorahosted.org/sssd/ticket/2726
---
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
More information about the sssd-devel
mailing list