Fix test case for docker_api_swarm_test.go

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Upstream-commit: 6dfba780cc490ef7579e95169b5c71617f8e5a47
Component: engine
This commit is contained in:
Justin Cormack
2016-07-07 20:17:39 +01:00
parent 2ccfe96ba1
commit d93f3c954e

View File

@ -277,8 +277,6 @@ func (s *DockerSwarmSuite) TestApiSwarmPromoteDemote(c *check.C) {
}
if i > 100 {
c.Errorf("node did not turn into manager")
} else {
break
}
time.Sleep(100 * time.Millisecond)
}
@ -296,8 +294,6 @@ func (s *DockerSwarmSuite) TestApiSwarmPromoteDemote(c *check.C) {
}
if i > 100 {
c.Errorf("node did not turn into worker")
} else {
break
}
time.Sleep(100 * time.Millisecond)
}