29
29
var _ = gc.Suite(&UpstartSuite{})
31
31
func (s *UpstartSuite) SetUpTest(c *gc.C) {
35
34
s.PatchValue(&upstart.InstallStartRetryAttempts, utils.AttemptStrategy{})
36
35
s.service = &upstart.Service{Name: "some-service", InitDir: c.MkDir()}
37
36
_, err := os.Create(filepath.Join(s.service.InitDir, "some-service.conf"))