projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
14807: Allow driver to specify SSH username.
[arvados.git]
/
lib
/
dispatchcloud
/
ssh_executor
/
executor_test.go
diff --git
a/lib/dispatchcloud/ssh_executor/executor_test.go
b/lib/dispatchcloud/ssh_executor/executor_test.go
index f8565b4a710705c1367a54f9a954a753ff1d2715..e7c023586b4bb3c09ac8968c35c2cc3f1ed01ee2 100644
(file)
--- a/
lib/dispatchcloud/ssh_executor/executor_test.go
+++ b/
lib/dispatchcloud/ssh_executor/executor_test.go
@@
-73,6
+73,7
@@
func (s *ExecutorSuite) TestBadHostKey(c *check.C) {
return 0
},
HostKey: hostpriv,
+ AuthorizedUser: "username",
AuthorizedKeys: []ssh.PublicKey{clientpub},
},
}
@@
-121,6
+122,7
@@
func (s *ExecutorSuite) TestExecute(c *check.C) {
return uint32(exitcode)
},
HostKey: hostpriv,
+ AuthorizedUser: "username",
AuthorizedKeys: []ssh.PublicKey{clientpub},
},
}