Skip one test in Docker 1.9 for runC bug.

Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
Dong Chen 2016-02-19 22:33:39 -08:00
parent 06ef4a99e6
commit acf09695f7
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,13 @@ function teardown() {
} }
@test "scheduler avoids failing node" { @test "scheduler avoids failing node" {
# Docker issue #14203 in runC causing this test to fail.
# Issue fixed in Docker 1.10
run docker --version
if [[ "${output}" == "Docker version 1.9"* ]]; then
skip
fi
# Start 1 engine and register it in the file. # Start 1 engine and register it in the file.
start_docker 2 start_docker 2
# Start swarm and check it can reach the node # Start swarm and check it can reach the node