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

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/worker/runner_test.go

  • Committer: Package Import Robot
  • Author(s): Curtis C. Hovey
  • Date: 2015-09-29 19:43:29 UTC
  • mfrom: (47.1.4 wily-proposed)
  • Revision ID: package-import@ubuntu.com-20150929194329-9y496tbic30hc7vp
Tags: 1.24.6-0ubuntu1~15.04.1
Backport of 1.24.6 from wily. (LP: #1500916, #1497087)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
func (s *runnerSuite) SetUpTest(c *gc.C) {
39
39
        s.BaseSuite.SetUpTest(c)
40
 
        s.PatchValue(&worker.RestartDelay, time.Duration(0))
 
40
        // Avoid patching RestartDealy to zero, as it changes worker behaviour.
 
41
        s.PatchValue(&worker.RestartDelay, time.Duration(time.Millisecond))
41
42
}
42
43
 
43
44
func (*runnerSuite) TestOneWorkerStart(c *gc.C) {