mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
a lot of the logging tests use async calls which was flaky with timings. there are a couple left that use async, that we need to test, but this reduces the probability of the flaky tests flaking to 2/5 instead of 5/5. the behaviors we are testing here we should not be testing through the api, for this exact reason, we can test a ton of this in the agent itself and not have to rely on timings. not taking that here, but this fixes circle ci flaking out for a few days.
FN integration API tests
Test dependencies
DOCKER_HOST - for building images
FN_API_URL - Fn API endpoint
How to run tests?
export FN_API_URL=http://localhost:8080
go test -v ./...