Index: worker/machiner/machiner_test.go |
=== modified file 'worker/machiner/machiner_test.go' |
--- worker/machiner/machiner_test.go 2012-09-28 07:21:43 +0000 |
+++ worker/machiner/machiner_test.go 2012-10-17 13:42:03 +0000 |
@@ -26,7 +26,7 @@ |
m, err := s.State.AddMachine(state.MachinerWorker) |
c.Assert(err, IsNil) |
- p := machiner.NewMachiner(m, &state.Info{}, c.MkDir()) |
+ p := machiner.NewMachiner(m, s.State, &state.Info{}, c.MkDir()) |
c.Assert(p.Stop(), IsNil) |
} |
@@ -67,7 +67,7 @@ |
expectedInfo: stateInfo, |
action: make(chan string, 5), |
} |
- machiner := machiner.NewMachinerWithContainer(m0, stateInfo, s.DataDir(), dcontainer) |
+ machiner := machiner.NewMachinerWithContainer(m0, s.State, stateInfo, s.DataDir(), dcontainer) |
defer func() { |
err := machiner.Stop() |
c.Assert(err, IsNil) |