mirror of
https://github.com/docker/compose.git
synced 2025-07-20 04:04:29 +02:00
e2e: make test re-runnable on the same machine
Signed-off-by: Nick Sieger <nick@nicksieger.com>
This commit is contained in:
parent
3ec8c60657
commit
2ca8ab914a
@ -16,6 +16,7 @@ Background:
|
|||||||
"""
|
"""
|
||||||
FROM golang:1.19-alpine
|
FROM golang:1.19-alpine
|
||||||
"""
|
"""
|
||||||
|
And I run "docker rm -f external-test"
|
||||||
|
|
||||||
Scenario: external container from compose image exists
|
Scenario: external container from compose image exists
|
||||||
When I run "compose build"
|
When I run "compose build"
|
||||||
@ -24,4 +25,5 @@ Scenario: external container from compose image exists
|
|||||||
Then the exit code is 0
|
Then the exit code is 0
|
||||||
And I run "compose ps -a"
|
And I run "compose ps -a"
|
||||||
Then the output does not contain "external-test"
|
Then the output does not contain "external-test"
|
||||||
|
And I run "docker rm -f external-test"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user