2015-10-13 07:52:42 +00:00
|
|
|
# -*- mode: sh -*-
|
|
|
|
#!/usr/bin/env bats
|
|
|
|
|
|
|
|
load helpers
|
|
|
|
|
|
|
|
@test "Test overlay network with consul" {
|
|
|
|
skip_for_circleci
|
2015-10-15 06:03:08 +00:00
|
|
|
test_overlay consul
|
2015-10-13 07:52:42 +00:00
|
|
|
}
|
2015-10-22 04:20:12 +00:00
|
|
|
|
|
|
|
@test "Test overlay network singlehost with consul" {
|
|
|
|
skip_for_circleci
|
|
|
|
test_overlay_singlehost consul
|
|
|
|
}
|
2015-10-25 00:45:34 +00:00
|
|
|
|
|
|
|
@test "test overlay network etc hosts with consul" {
|
|
|
|
skip_for_circleci
|
|
|
|
test_overlay_etchosts consul
|
|
|
|
}
|
2015-10-29 02:10:38 +00:00
|
|
|
|
|
|
|
@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
|
|
|
|
}
|