MCPcopy Create free account
hub / github.com/docker/compose / TestWaitOnSlower

Function TestWaitOnSlower

pkg/e2e/wait_test.go:42–54  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

40}
41
42func TestWaitOnSlower(t *testing.T) {
43 const projectName = "e2e-wait-slower"
44 c := NewParallelCLI(t)
45
46 cleanup := func() {
47 c.RunDockerComposeCmd(t, "--project-name", projectName, "down", "--timeout=0", "--remove-orphans")
48 }
49 t.Cleanup(cleanup)
50 cleanup()
51
52 c.RunDockerComposeCmd(t, "-f", "./fixtures/wait/compose.yaml", "--project-name", projectName, "up", "-d")
53 c.RunDockerComposeCmd(t, "--project-name", projectName, "wait", "slower")
54}
55
56func TestWaitOnInfinity(t *testing.T) {
57 const projectName = "e2e-wait-infinity"

Callers

nothing calls this directly

Calls 2

NewParallelCLIFunction · 0.85
RunDockerComposeCmdMethod · 0.80

Tested by

no test coverage detected