e2e: make test re-runnable on the same machine

Signed-off-by: Nick Sieger <nick@nicksieger.com>
This commit is contained in:
Nick Sieger 2023-05-26 15:29:03 -05:00
parent 3ec8c60657
commit 2ca8ab914a
No known key found for this signature in database
GPG Key ID: 222EA328BD6E402A
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Background:
"""
FROM golang:1.19-alpine
"""
And I run "docker rm -f external-test"
Scenario: external container from compose image exists
When I run "compose build"
@ -24,4 +25,5 @@ Scenario: external container from compose image exists
Then the exit code is 0
And I run "compose ps -a"
Then the output does not contain "external-test"
And I run "docker rm -f external-test"