mirror of https://github.com/docker/docs.git
Merge pull request #860 from abronan/add_test_removal
pkg/store: Additional check in Node Removal integration test
This commit is contained in:
commit
2b5835a7cc
|
|
@ -81,6 +81,11 @@ function teardown() {
|
|||
|
||||
# Check if previously registered engines are all gone
|
||||
retry 30 1 discovery_check_swarm_info 0
|
||||
|
||||
# Check that we can add instances back to the cluster
|
||||
start_docker 2
|
||||
swarm_join "$DISCOVERY"
|
||||
retry 5 1 discovery_check_swarm_info 2
|
||||
}
|
||||
|
||||
@test "consul discovery: failure" {
|
||||
|
|
|
|||
|
|
@ -86,6 +86,11 @@ function teardown() {
|
|||
|
||||
# Check if previously registered engines are all gone
|
||||
retry 15 1 discovery_check_swarm_info 0
|
||||
|
||||
# Check that we can add instances back to the cluster
|
||||
start_docker 2
|
||||
swarm_join "$DISCOVERY"
|
||||
retry 5 1 discovery_check_swarm_info 2
|
||||
}
|
||||
|
||||
@test "etcd discovery: failure" {
|
||||
|
|
|
|||
|
|
@ -81,6 +81,11 @@ function teardown() {
|
|||
|
||||
# Check if previously registered engines are all gone
|
||||
retry 20 1 discovery_check_swarm_info 0
|
||||
|
||||
# Check that we can add instances back to the cluster
|
||||
start_docker 2
|
||||
swarm_join "$DISCOVERY"
|
||||
retry 5 1 discovery_check_swarm_info 2
|
||||
}
|
||||
|
||||
@test "zk discovery: failure" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue