Skip to content

Commit

Permalink
Tests update for Docker v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmakarov committed Apr 14, 2016
1 parent ff1f714 commit 5a0351e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/virtualbox/boot2docker_vagrant_virtualbox.bats
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
}

@test "Can access docker engine from host (without TLS)" {
curl -sSL "https://get.docker.com/builds/$(uname -s)/$(uname -m)/docker-$DOCKER_CLI_VERSION" -o ./docker
chmod +x ./docker
curl -sSL -O "https://get.docker.com/builds/$(uname -s)/$(uname -m)/docker-$DOCKER_CLI_VERSION.tgz"
tar xvf docker-$DOCKER_CLI_VERSION.tgz
# Figure out the mapped docker port (in case port was remapped due to collision)
docker_port=$(vagrant port --guest 2375)
./docker -H 127.0.0.1:$docker_port ps
rm -rf ./docker
docker/docker -H 127.0.0.1:$docker_port ps
rm -rf docker*
}

@test "Docker Compose is version COMPOSE_TARGET_VERSION=${COMPOSE_TARGET_VERSION}" {
Expand Down

0 comments on commit 5a0351e

Please sign in to comment.