diff --git a/test/integration/api.bats b/test/integration/api.bats index 732d0f24c6..514e75134f 100644 --- a/test/integration/api.bats +++ b/test/integration/api.bats @@ -16,16 +16,16 @@ function teardown() { start_docker 3 swarm_manage - run docker_swarm images + run docker_swarm images -q [ "$status" -eq 0 ] - [ "${#lines[@]}" -eq 1 ] + [ "${#lines[@]}" -eq 0 ] run docker_swarm build -t test $BATS_TEST_DIRNAME/testdata/build [ "$status" -eq 0 ] - run docker_swarm images + run docker_swarm images -q [ "$status" -eq 0 ] - [ "${#lines[@]}" -eq 3 ] + [ "${#lines[@]}" -eq 1 ] } # FIXME diff --git a/test/integration/testdata/build/Dockerfile b/test/integration/testdata/build/Dockerfile index bfdf522982..6de2c51a2d 100644 --- a/test/integration/testdata/build/Dockerfile +++ b/test/integration/testdata/build/Dockerfile @@ -1,2 +1,2 @@ -FROM busybox -RUN ls +FROM scratch +ENV test integration