~rogpeppe/juju-core/323-machineagent-api-client

« back to all changes in this revision

Viewing changes to worker/provisioner/provisioner_test.go

  • Committer: Tarmac
  • Author(s): Tim Penhey
  • Date: 2013-06-17 22:06:54 UTC
  • mfrom: (1274.3.10 instance-id)
  • Revision ID: tarmac-20130617220654-1d7y34f00629h8cv
[r=thumper] Move state.InstanceId to instance.Id

Very mechanical change, just imports, and occasional variable renames.

https://codereview.appspot.com/10325043/

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
 
223
223
// waitInstanceId waits until the supplied machine has an instance id, then
224
224
// asserts it is as expected.
225
 
func (s *ProvisionerSuite) waitInstanceId(c *C, m *state.Machine, expect state.InstanceId) {
 
225
func (s *ProvisionerSuite) waitInstanceId(c *C, m *state.Machine, expect instance.Id) {
226
226
        s.waitMachine(c, m, func() bool {
227
227
                err := m.Refresh()
228
228
                c.Assert(err, IsNil)