From 5403648afd7dde69bf774f5dbdd2d07873ec3f84 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Mon, 20 Jan 2014 09:41:32 +0100 Subject: ipatests: Remove sudo calls from tasks Sudo calls are not necessary since we log in as a root. Additionally, sudo requires tty in default configuration, which is not acquired when using OpenSSH transport. https://fedorahosted.org/freeipa/ticket/4125 --- ipatests/test_integration/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipatests/test_integration') diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index cee54768..72196914 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -412,8 +412,8 @@ def sync_time(host, server): leaves ntpd stopped. """ - host.run_command(['sudo', 'systemctl', 'stop', 'ntpd']) - host.run_command(['sudo', 'ntpdate', server.hostname]) + host.run_command(['systemctl', 'stop', 'ntpd']) + host.run_command(['ntpdate', server.hostname]) def connect_replica(master, replica): -- cgit