Add proxy protocol tests

This commit is contained in:
Emile Vauge 2017-10-30 10:02:03 +01:00 committed by Traefiker
parent d1d8b01dfb
commit e8633d17e8
8 changed files with 177 additions and 23 deletions

View file

@ -13,4 +13,13 @@ fi
cd integration
echo "Testing against…"
docker version
CGO_ENABLED=0 go test -integration $TESTFLAGS
if [ -n "$TEST_CONTAINER" ]; then
echo "Testing from container…"
CGO_ENABLED=0 go test -integration -container $TESTFLAGS
fi
if [ -n "$TEST_HOST" ]; then
echo "Testing from host…"
CGO_ENABLED=0 go test -integration -host $TESTFLAGS
fi