~chipaca/ubuntu-push/client-v0-p3

« back to all changes in this revision

Viewing changes to util/redialer_test.go

  • Committer: john.lenton at canonical
  • Date: 2014-02-03 18:17:27 UTC
  • Revision ID: john.lenton@canonical.com-20140203181727-om03jrl61zk1ndde
renamed AutoRetrier.AutoRetry to .Retry; checked that Client.connCh is not-nil after config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
        }
78
78
        jitter := func(time.Duration) time.Duration { return 0 }
79
79
        ar := &AutoRetrier{nil, f, jitter}
80
 
        c.Check(ar.AutoRetry(), Equals, uint32(6))
 
80
        c.Check(ar.Retry(), Equals, uint32(6))
81
81
}
82
82
 
83
83
func (s *RedialerSuite) TestJitter(c *C) {