mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Merge pull request #860 from abronan/add_test_removal
pkg/store: Additional check in Node Removal integration test
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user