当前位置: 首页>>代码示例>>Golang>>正文


Golang arvadostest.StopAPI函数代码示例

本文整理汇总了Golang中git/curoverse/com/arvados/git/sdk/go/arvadostest.StopAPI函数的典型用法代码示例。如果您正苦于以下问题:Golang StopAPI函数的具体用法?Golang StopAPI怎么用?Golang StopAPI使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了StopAPI函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: TearDownSuite

func (s *ServerRequiredSuite) TearDownSuite(c *C) {
	if *no_server {
		return
	}
	arvadostest.StopKeep()
	arvadostest.StopAPI()
}
开发者ID:WangZhenfei,项目名称:arvados,代码行数:7,代码来源:keepclient_test.go

示例2: TearDownSuite

func (s *integrationSuite) TearDownSuite(c *check.C) {
	if testing.Short() {
		c.Skip("-short")
	}
	arvadostest.StopKeep(4)
	arvadostest.StopAPI()
}
开发者ID:pombredanne,项目名称:arvados,代码行数:7,代码来源:integration_test.go

示例3: TestPullWorkerIntegration_GetExistingLocator

// 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)
}
开发者ID:pombredanne,项目名称:arvados,代码行数:16,代码来源:pull_worker_integration_test.go

示例4: TearDownDataManagerTest

func TearDownDataManagerTest(t *testing.T) {
	arvadostest.StopKeep(2)
	arvadostest.StopAPI()
	summary.WriteDataTo = ""
	collection.HeapProfileFilename = ""
}
开发者ID:aflyhorse,项目名称:arvados,代码行数:6,代码来源:datamanager_test.go

示例5: TearDownSuite

func (s *IntegrationSuite) TearDownSuite(c *check.C) {
	arvadostest.StopKeep(2)
	arvadostest.StopAPI()
}
开发者ID:pombredanne,项目名称:arvados,代码行数:4,代码来源:server_test.go

示例6: TearDownSuite

func (s *NoKeepServerSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
}
开发者ID:Kunde21,项目名称:arvados,代码行数:3,代码来源:keepproxy_test.go

示例7: TearDownSuite

func (s *ServerRequiredSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
	arvadostest.ResetEnv()
}
开发者ID:pombredanne,项目名称:arvados,代码行数:4,代码来源:keep-rsync_test.go

示例8: TearDownDataManagerTest

func TearDownDataManagerTest(t *testing.T) {
	arvadostest.StopKeep()
	arvadostest.StopAPI()
}
开发者ID:brainstorm,项目名称:arvados,代码行数:4,代码来源:datamanager_test.go

示例9: TearDownSuite

func (s *TestSuite) TearDownSuite(c *C) {
	arvadostest.StopAPI()
}
开发者ID:pombredanne,项目名称:arvados,代码行数:3,代码来源:crunch-dispatch-local_test.go

示例10: TearDownTest

func (s *TestSuite) TearDownTest(c *C) {
	os.Args = initialArgs
	arvadostest.StopAPI()
}
开发者ID:pombredanne,项目名称:arvados,代码行数:4,代码来源:crunch-dispatch-slurm_test.go


注:本文中的git/curoverse/com/arvados/git/sdk/go/arvadostest.StopAPI函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。