Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1261)

Unified Diff: cmd/jujud/bootstrap_test.go

Issue 6570050: jujud: sane args in bootstrap test
Patch Set: jujud: sane args in bootstrap test Created 12 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cmd/jujud/bootstrap_test.go
=== modified file 'cmd/jujud/bootstrap_test.go'
--- cmd/jujud/bootstrap_test.go 2012-09-21 13:37:42 +0000
+++ cmd/jujud/bootstrap_test.go 2012-09-25 22:16:03 +0000
@@ -48,7 +48,12 @@
args := []string{"--state-servers"}
args = append(args, s.StateInfo(c).Addrs...)
args = append(args, "--instance-id", "over9000")
- args = append(args, "--env-config", b64yaml{"blah": "blah"}.encode())
+ args = append(args, "--env-config", b64yaml{
+ "name": "dummyenv",
+ "type": "dummy",
+ "state-server": "false",
+ "authorized-keys": "i-am-a-key",
+ }.encode())
cmd, err := initBootstrapCommand(args)
c.Assert(err, IsNil)
err = cmd.Run(nil)
« no previous file with comments | « [revision details] ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b