func (s *S) SetUpTest(c *C) { attempts := aws.AttemptStrategy{ Total: 300 * time.Millisecond, Delay: 100 * time.Millisecond, } s3.SetAttemptStrategy(&attempts) }
func (s *S) DisableRetries() { s3.SetAttemptStrategy(&aws.AttemptStrategy{}) }
func (s *S) TearDownSuite(c *C) { s3.SetAttemptStrategy(nil) testServer.Stop() }