func (t *localNonUSEastSuite) SetUpSuite(c *C) { t.LoggingSuite.SetUpSuite(c) ec2.UseTestImageData(true) ec2.UseTestMetadata(true) t.tests.SetUpSuite(c) ec2.ShortTimeouts(true) }
func (t *localNonUSEastSuite) TearDownSuite(c *C) { t.restoreTimeouts() ec2.UseTestImageData(nil) ec2.UseTestInstanceTypeData(nil) ec2.UseTestRegionData(nil) t.LoggingSuite.TearDownSuite(c) }
func (t *localServerSuite) TearDownSuite(c *C) { t.Tests.TearDownSuite(c) ec2.ShortTimeouts(false) ec2.UseTestMetadata(false) ec2.UseTestImageData(false) t.LoggingSuite.TearDownSuite(c) }
func (t *localNonUSEastSuite) SetUpSuite(c *C) { t.LoggingSuite.SetUpSuite(c) ec2.UseTestImageData(ec2.TestImagesData) ec2.UseTestInstanceTypeData(ec2.TestInstanceTypeCosts) ec2.UseTestRegionData(ec2.TestRegions) t.tests.SetUpSuite(c) t.restoreTimeouts = envtesting.PatchAttemptStrategies(ec2.ShortAttempt) }
func (t *localLiveSuite) TearDownSuite(c *C) { t.LiveTests.TearDownSuite(c) t.srv.stopServer(c) t.env = nil ec2.ShortTimeouts(false) ec2.UseTestImageData(false) t.LoggingSuite.TearDownSuite(c) }
func (t *localLiveSuite) SetUpSuite(c *C) { t.LoggingSuite.SetUpSuite(c) ec2.UseTestImageData(true) t.srv.startServer(c) t.LiveTests.SetUpSuite(c) t.env = t.LiveTests.Env ec2.ShortTimeouts(true) }
func (t *localLiveSuite) TearDownSuite(c *C) { t.LiveTests.TearDownSuite(c) t.srv.stopServer(c) t.env = nil t.restoreTimeouts() ec2.UseTestImageData(nil) ec2.UseTestInstanceTypeData(nil) ec2.UseTestRegionData(nil) t.LoggingSuite.TearDownSuite(c) }
func (t *localLiveSuite) SetUpSuite(c *C) { t.LoggingSuite.SetUpSuite(c) ec2.UseTestImageData(ec2.TestImagesData) ec2.UseTestInstanceTypeData(ec2.TestInstanceTypeCosts) ec2.UseTestRegionData(ec2.TestRegions) t.srv.startServer(c) t.LiveTests.SetUpSuite(c) t.env = t.LiveTests.Env t.restoreTimeouts = envtesting.PatchAttemptStrategies(ec2.ShortAttempt) }
func (t *localNonUSEastSuite) TearDownSuite(c *C) { ec2.ShortTimeouts(false) ec2.UseTestMetadata(false) ec2.UseTestImageData(false) t.LoggingSuite.TearDownSuite(c) }