From 50a6316d16f3cb9fcdcab03a1f205a678e2fb154 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 3 Apr 2014 12:11:21 +0200 Subject: ipatests: tasks: Wait 2 seconds after restart of SSSD when clearing the cache Reviewed-By: Petr Viktorin --- ipatests/test_integration/tasks.py | 3 +++ 1 file changed, 3 insertions(+) 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): """ -- cgit