1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-02 23:05:46 +00:00

test: fix failing tests

This commit is contained in:
Nicolas Duchon
2023-12-11 15:06:29 +01:00
parent 060f09cfce
commit c4cf0af373
5 changed files with 9 additions and 4 deletions

View File

@ -22,6 +22,7 @@ def web1(docker_compose):
},
ports={"81/tcp": None}
)
docker_compose.networks.get("test_default").connect(container)
sleep(2) # give it some time to initialize and for docker-gen to detect it
yield container
try:
@ -46,6 +47,7 @@ def web2(docker_compose):
},
ports={"82/tcp": None}
)
docker_compose.networks.get("test_default").connect(container)
sleep(2) # give it some time to initialize and for docker-gen to detect it
yield container
try: