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

Unified Diff: worker/provisioner/provisioner_test.go

Issue 8561045: finish nonced provisioning (Closed)
Patch Set: Created 10 years, 11 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
« worker/provisioner/provisioner.go ('K') | « worker/provisioner/provisioner.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: worker/provisioner/provisioner_test.go
=== modified file 'worker/provisioner/provisioner_test.go'
--- worker/provisioner/provisioner_test.go 2013-04-08 10:20:19 +0000
+++ worker/provisioner/provisioner_test.go 2013-04-09 13:25:23 +0000
@@ -99,8 +99,7 @@
// Check the instance was started with the expected params.
c.Assert(o.MachineId, Equals, m.Id())
- // TODO(dimitern) this will change in a follow-up to match the actual value generated.
- c.Assert(o.MachineNonce, Equals, "fake_nonce")
+ c.Assert(o.MachineNonce, Matches, trivial.ValidUUID)
c.Assert(o.Secret, Equals, secret)
c.Assert(o.Constraints, DeepEquals, cons)
« worker/provisioner/provisioner.go ('K') | « worker/provisioner/provisioner.go ('k') | no next file » | no next file with comments »

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