~themue/juju-core/053-env-more-script-friendly

« back to all changes in this revision

Viewing changes to cmd/jujud/unit_test.go

Merge trunk and resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
                        st, info, err := unit.Status()
101
101
                        c.Assert(err, IsNil)
102
102
                        switch st {
103
 
                        case params.UnitPending, params.UnitInstalled:
 
103
                        case params.StatusPending, params.StatusInstalled:
104
104
                                c.Logf("waiting...")
105
105
                                continue
106
 
                        case params.UnitStarted:
 
106
                        case params.StatusStarted:
107
107
                                c.Logf("started!")
108
108
                                break waitStarted
109
 
                        case params.UnitDown:
 
109
                        case params.StatusDown:
110
110
                                s.State.StartSync()
111
111
                                c.Logf("unit is still down")
112
112
                        default: