예제 #1
0
func (s *ServerRequiredSuite) TearDownSuite(c *C) {
	if *no_server {
		return
	}
	arvadostest.StopKeep()
	arvadostest.StopAPI()
}
예제 #2
0
func (s *integrationSuite) TearDownSuite(c *check.C) {
	if testing.Short() {
		c.Skip("-short")
	}
	arvadostest.StopKeep(4)
	arvadostest.StopAPI()
}
// Do a get on a block that exists on one of the keep servers.
// The setup method will create this block before doing the get.
func TestPullWorkerIntegration_GetExistingLocator(t *testing.T) {
	testData := PullWorkIntegrationTestData{
		Name:     "TestPullWorkerIntegration_GetLocator",
		Locator:  "5d41402abc4b2a76b9719d911017c592",
		Content:  "hello",
		GetError: "",
	}

	pullRequest := SetupPullWorkerIntegrationTest(t, testData, true)
	defer arvadostest.StopAPI()
	defer arvadostest.StopKeep(2)

	performPullWorkerIntegrationTest(testData, pullRequest, t)
}
예제 #4
0
func TearDownDataManagerTest(t *testing.T) {
	arvadostest.StopKeep(2)
	arvadostest.StopAPI()
	summary.WriteDataTo = ""
	collection.HeapProfileFilename = ""
}
예제 #5
0
func (s *IntegrationSuite) TearDownSuite(c *check.C) {
	arvadostest.StopKeep(2)
	arvadostest.StopAPI()
}
예제 #6
0
func (s *NoKeepServerSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
}
예제 #7
0
func (s *ServerRequiredSuite) TearDownSuite(c *C) {
	arvadostest.StopKeep(2)
	arvadostest.StopAPI()
}
예제 #8
0
func (s *ServerRequiredSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
	arvadostest.ResetEnv()
}
예제 #9
0
func TearDownDataManagerTest(t *testing.T) {
	arvadostest.StopKeep()
	arvadostest.StopAPI()
}
func (s *TestSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
}
func (s *TestSuite) TearDownTest(c *C) {
	os.Args = initialArgs
	arvadostest.StopAPI()
}