(t *testing.T)
| 40 | } |
| 41 | |
| 42 | func 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 | |
| 56 | func TestWaitOnInfinity(t *testing.T) { |
| 57 | const projectName = "e2e-wait-infinity" |
nothing calls this directly
no test coverage detected