Esempio n. 1
0
func (s *S) SetUpTest(c *C) {
	attempts := aws.AttemptStrategy{
		Total: 300 * time.Millisecond,
		Delay: 100 * time.Millisecond,
	}
	s3.SetAttemptStrategy(&attempts)
}
Esempio n. 2
0
func (s *S) TearDownSuite(c *C) {
	s3.SetAttemptStrategy(nil)

	defer os.RemoveAll(s.tempDir)
}