one last var needed quotes
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
d63ac607a4
commit
4a21475b1e
@ -82,7 +82,7 @@ setup() {
|
|||||||
@test "docker run: ports" {
|
@test "docker run: ports" {
|
||||||
dagger -e docker-run-ports up
|
dagger -e docker-run-ports up
|
||||||
CONTAINER=$(docker container ls -q --filter "name=daggerci-test-ports-*")
|
CONTAINER=$(docker container ls -q --filter "name=daggerci-test-ports-*")
|
||||||
until docker inspect --format "{{json .State.Status }}" $CONTAINER | grep -m 1 "running"; do sleep 1 ; done
|
until docker inspect --format "{{json .State.Status }}" "$CONTAINER" | grep -m 1 "running"; do sleep 1 ; done
|
||||||
run curl -f -LI http://localhost:8080
|
run curl -f -LI http://localhost:8080
|
||||||
assert_output --partial '200 OK'
|
assert_output --partial '200 OK'
|
||||||
docker stop "$CONTAINER" && docker rm "$CONTAINER"
|
docker stop "$CONTAINER" && docker rm "$CONTAINER"
|
||||||
|
Reference in New Issue
Block a user