1
0
Fork 0

Update some docker provider test

- Split the file into smaller ones (docker, swarm and service tests)
- Use some builder to reduce a little bit the noise for creating containers

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2017-04-15 16:46:44 +02:00
parent 3f293ee25b
commit b04ba36682
7 changed files with 1797 additions and 2565 deletions

View file

@ -345,7 +345,7 @@ func TestDefaultFuncMap(t *testing.T) {
weight = 1
[frontends]
[frontends.{{Normalize "frontend/1"}}]
[frontends.{{normalize "frontend/1"}}]
{{ $backend := "backend1/test/value" | split "/" }}
{{ $backendid := index $backend 1 }}
{{ if "backend1" | contains "backend" }}