mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Jana Radhakrishnan](/assets/img/avatar_default.png)
Added IT cases for external connectivity check for bridge and overlay networks, both initially and after a restart. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
31 lines
758 B
Bash
31 lines
758 B
Bash
# -*- mode: sh -*-
|
|
#!/usr/bin/env bats
|
|
|
|
load helpers
|
|
|
|
@test "Test overlay network with consul" {
|
|
skip_for_circleci
|
|
test_overlay consul
|
|
}
|
|
|
|
@test "Test overlay network singlehost with consul" {
|
|
skip_for_circleci
|
|
test_overlay_singlehost consul
|
|
}
|
|
|
|
@test "test overlay network etc hosts with consul" {
|
|
skip_for_circleci
|
|
test_overlay_etchosts consul
|
|
}
|
|
|
|
@test "Test overlay network with dnet restart" {
|
|
skip_for_circleci
|
|
test_overlay consul skip_rm
|
|
docker restart dnet-1-consul
|
|
wait_for_dnet $(inst_id2port 1) dnet-1-consul
|
|
docker restart dnet-2-consul
|
|
wait_for_dnet $(inst_id2port 2) dnet-2-consul
|
|
docker restart dnet-3-consul
|
|
wait_for_dnet $(inst_id2port 3) dnet-3-consul
|
|
test_overlay consul skip_add
|
|
}
|