summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-04-03 12:11:21 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-04-04 12:07:00 +0200
commit50a6316d16f3cb9fcdcab03a1f205a678e2fb154 (patch)
treec997f7ac4495d11f467eb0ebc78b6c75ec7894ee
parent6dcf2400bed11b46f73bfbcc2ea0873ce9dc6620 (diff)
downloadfreeipa-50a6316d16f3cb9fcdcab03a1f205a678e2fb154.tar.gz
freeipa-50a6316d16f3cb9fcdcab03a1f205a678e2fb154.tar.xz
freeipa-50a6316d16f3cb9fcdcab03a1f205a678e2fb154.zip
ipatests: tasks: Wait 2 seconds after restart of SSSD when clearing the cache
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
-rw-r--r--ipatests/test_integration/tasks.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index a86210cfb..d03ee6021 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -414,6 +414,9 @@ def clear_sssd_cache(host):
else:
host.run_command(['/sbin/service', 'sssd', 'start'])
+ # To avoid false negatives due to SSSD not responding yet
+ time.sleep(2)
+
def sync_time(host, server):
"""