Skip to content

Commit

Permalink
Merge "Don't pass pty=False in run_cmd_on_server" into R3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 15, 2017
2 parents 82f3af1 + 08b3e8a commit e08f162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/contrail_test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def restart_service(
else:
issue_cmd = 'service %s restart' % (service_name)
self.run_cmd_on_server(
host, issue_cmd, username, password, pty=False)
host, issue_cmd, username, password)
assert self.confirm_service_active(service_name, host), \
"Service Restart failed for %s" % (service_name)
# end restart_service
Expand All @@ -1018,7 +1018,7 @@ def stop_service(self, service_name, host_ips=[], contrail_service=True):
else:
issue_cmd = 'service %s stop' % (service_name)
self.run_cmd_on_server(
host, issue_cmd, username, password, pty=False)
host, issue_cmd, username, password)
# end stop_service

def start_service(self, service_name, host_ips=[], contrail_service=True):
Expand All @@ -1035,7 +1035,7 @@ def start_service(self, service_name, host_ips=[], contrail_service=True):
else:
issue_cmd = 'service %s start' % (service_name)
self.run_cmd_on_server(
host, issue_cmd, username, password, pty=False)
host, issue_cmd, username, password)
# end start_service

def _compare_service_state(
Expand Down

0 comments on commit e08f162

Please sign in to comment.