Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

HAProxy

e2e Testing

testing can be done in two ways, locally if HAProxy is installed, or in docker image

local machine

go test -tags integration ./...

or

make e2e

docker environment

export HAPROXY_VERSION=2.7; sed -e "s/alpine:2.3/alpine:$HAPROXY_VERSION/g" e2e/Dockerfile-TestEnv | docker build -t test_env -f - .
docker build -f e2e/Dockerfile -t client-native-test .
docker run --entrypoint "go" client-native-test test -tags integration ./...

or

make e2e-docker

where HAPROXY_VERSION is set to desired version of HAProxy