Fix test instabilities by refactoring to make address dynamic and readable

This commit is contained in:
Marc Di Luzio 2020-06-06 11:52:12 +01:00
parent bc366583a4
commit 1d2087e2b9
7 changed files with 82 additions and 31 deletions

View file

@ -9,8 +9,7 @@ go mod download
go build ./...
# Run the server and shut it down again to ensure our docker-compose works
docker-compose up --detach --build
docker-compose down
ROVE_ARGS="--quit 1" docker-compose up --build --exit-code-from=rove-server --abort-on-container-exit
# Run tests with coverage
go test -v ./... -cover -coverprofile=/tmp/c.out