summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipatests/test_integration/tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py
index 7a7fd4b3e..9a6ea3fa5 100644
--- a/ipatests/test_integration/tasks.py
+++ b/ipatests/test_integration/tasks.py
@@ -399,9 +399,9 @@ def clear_sssd_cache(host):
systemd_available = host.transport.file_exists('/bin/systemctl')
if systemd_available:
- host.run_command(['systemctl', 'start', 'sssd'])
+ host.run_command(['systemctl', 'stop', 'sssd'])
else:
- host.run_command(['/sbin/service', 'sssd', 'start'])
+ host.run_command(['/sbin/service', 'sssd', 'stop'])
host.run_command("find /var/lib/sss/db -name '*.ldb' | "
"xargs rm -fv")