~ubuntu-branches/ubuntu/trusty/juju-core/trusty-proposed

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/juju/testing/utils.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-03 09:22:46 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20140203092246-e03vg402vztzo4qa
Tags: 1.17.2-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
// and State.APIAddresses methods, which will not bear any relation to
33
33
// the be the addresses used by the state servers.
34
34
func AddStateServerMachine(c *gc.C, st *state.State) *state.Machine {
35
 
        machine, err := st.AddMachine("quantal", state.JobManageState)
 
35
        machine, err := st.AddMachine("quantal", state.JobManageEnviron)
36
36
        c.Assert(err, gc.IsNil)
37
37
        err = machine.SetAddresses([]instance.Address{
38
38
                instance.NewAddress("0.1.2.3"),