Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1640)

Unified Diff: server/server_job.py

Issue 5102010: Passing SSH-options for server tests. (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« server/hosts/factory.py ('K') | « server/hosts/ssh_host.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/server_job.py
diff --git a/server/server_job.py b/server/server_job.py
index 6ef59debc57b8b2d9d2abc662c54711cc5b9fa38..efc88d619816cb2f8e62ab0c4def92842e682771 100644
--- a/server/server_job.py
+++ b/server/server_job.py
@@ -985,6 +985,9 @@ class base_server_job(base_job.base_job):
namespace['autotest'].Autotest.job = self
# server.hosts.base_classes.Host uses .job.
namespace['hosts'].Host.job = self
+ namespace['hosts'].factory.ssh_user = self._ssh_user
+ namespace['hosts'].factory.ssh_port = self._ssh_port
+ namespace['hosts'].factory.ssh_pass = self._ssh_pass
def _execute_code(self, code_file, namespace, protect=True):
« server/hosts/factory.py ('K') | « server/hosts/ssh_host.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698