示例#1
0
func (t *localNonUSEastSuite) SetUpSuite(c *C) {
	t.LoggingSuite.SetUpSuite(c)
	ec2.UseTestImageData(true)
	ec2.UseTestMetadata(true)
	t.tests.SetUpSuite(c)
	ec2.ShortTimeouts(true)
}
示例#2
0
func (t *localServerSuite) TearDownSuite(c *C) {
	t.Tests.TearDownSuite(c)
	ec2.ShortTimeouts(false)
	ec2.UseTestMetadata(false)
	ec2.UseTestImageData(false)
	t.LoggingSuite.TearDownSuite(c)
}
示例#3
0
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)
}
示例#4
0
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)
}
示例#5
0
func (t *localNonUSEastSuite) TearDownSuite(c *C) {
	ec2.ShortTimeouts(false)
	ec2.UseTestMetadata(false)
	ec2.UseTestImageData(false)
	t.LoggingSuite.TearDownSuite(c)
}