示例#1
0
func testExistAndRun(t *testing.T, servName string, containerNumber int, toExist, toRun bool) {
	if err := tests.TestExistAndRun(servName, "service", containerNumber, toExist, toRun); err != nil {
		fatal(t, nil)
	}
}
示例#2
0
func testExist(t *testing.T, name string, toExist bool) {
	if err := tests.TestExistAndRun(name, "data", 1, toExist, false); err != nil {
		t.Fail()
	}
}