Merge pull request #860 from abronan/add_test_removal

pkg/store: Additional check in Node Removal integration test
This commit is contained in:
Victor Vieux 2015-05-27 10:55:28 -07:00
commit 2b5835a7cc
3 changed files with 15 additions and 0 deletions

View File

@ -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" {

View File

@ -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" {

View File

@ -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" {