Add initial test-integration suites
Uses go-check in order to separate integration tests into suites, and have Setup and TearDown operations (on Suites and Tests) ; and use libcompose to start the external dependencies to test on (like consul, marathon, etcd, some http images, etc..). - Update Godeps to get dependencies needed for the use of libcompose - Setup initial suites and go-check + libcompose mini-framework - Add some hacks related to libcompose, will be fixed later (when fixed upstream) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
a5a8d6929e
commit
ad60b301b7
17 changed files with 681 additions and 0 deletions
11
integration/fixtures/consul/simple.toml
Normal file
11
integration/fixtures/consul/simple.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Reverse proxy port
|
||||
#
|
||||
# Optional
|
||||
# Default: ":80"
|
||||
#
|
||||
# port = ":80"
|
||||
#
|
||||
# LogLevel
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[consul]
|
16
integration/fixtures/docker/simple.toml
Normal file
16
integration/fixtures/docker/simple.toml
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Reverse proxy port
|
||||
#
|
||||
# Optional
|
||||
# Default: ":80"
|
||||
#
|
||||
# port = ":80"
|
||||
#
|
||||
# LogLevel
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[docker]
|
||||
|
||||
# FIXME this should be "dynamic".. xD
|
||||
endpoint = "tcp://172.17.42.1:2375"
|
||||
|
||||
domain = "docker.localhost"
|
11
integration/fixtures/file/simple.toml
Normal file
11
integration/fixtures/file/simple.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Reverse proxy port
|
||||
#
|
||||
# Optional
|
||||
# Default: ":80"
|
||||
#
|
||||
# port = ":80"
|
||||
#
|
||||
# LogLevel
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[file]
|
3
integration/fixtures/invalid_configuration.toml
Normal file
3
integration/fixtures/invalid_configuration.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"who": ["am", "I", "?", "JSON"]
|
||||
}
|
11
integration/fixtures/marathon/simple.toml
Normal file
11
integration/fixtures/marathon/simple.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Reverse proxy port
|
||||
#
|
||||
# Optional
|
||||
# Default: ":80"
|
||||
#
|
||||
# port = ":80"
|
||||
#
|
||||
# LogLevel
|
||||
logLevel = "DEBUG"
|
||||
|
||||
[marathon]
|
9
integration/fixtures/simple_default.toml
Normal file
9
integration/fixtures/simple_default.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Reverse proxy port
|
||||
#
|
||||
# Optional
|
||||
# Default: ":80"
|
||||
#
|
||||
# port = ":80"
|
||||
#
|
||||
# LogLevel
|
||||
logLevel = "DEBUG"
|
Loading…
Add table
Add a link
Reference in a new issue