Skip to content

Commit

Permalink
Keep the minio container running
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Dec 8, 2023
1 parent 019144d commit 62cc571
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_container_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ def _container(*, base_image="hello-world:latest", host_port=8080, cmd=None):
links={minio.container.name: "minio"},
)

# Wait for startup
sleep(3)
# Wait for startup
sleep(3)

try:
yield container
finally:
container.stop(timeout=0)
try:
yield container
finally:
container.stop(timeout=0)
finally:
registry.stop(timeout=0)

Expand Down

0 comments on commit 62cc571

Please sign in to comment.