(t *testing.T)
| 181 | } |
| 182 | |
| 183 | func TestStartAlreadyRunning(t *testing.T) { |
| 184 | cli := NewParallelCLI(t, WithEnv( |
| 185 | "COMPOSE_PROJECT_NAME=e2e-start-stop-svc-already-running", |
| 186 | "COMPOSE_FILE=./fixtures/start-stop/compose.yaml")) |
| 187 | t.Cleanup(func() { |
| 188 | cli.RunDockerComposeCmd(t, "down", "--remove-orphans", "-v", "-t", "0") |
| 189 | }) |
| 190 | |
| 191 | cli.RunDockerComposeCmd(t, "up", "-d", "--wait") |
| 192 | |
| 193 | res := cli.RunDockerComposeCmd(t, "start", "simple") |
| 194 | assert.Equal(t, res.Stdout(), "", "No output should have been written to stdout") |
| 195 | } |
| 196 | |
| 197 | func TestStopAlreadyStopped(t *testing.T) { |
| 198 | cli := NewParallelCLI(t, WithEnv( |
nothing calls this directly
no test coverage detected