Files
fn-serverless/test/fn-api-tests
Tolga Ceylan a57907eed0 fn: user friendly timeout handling changes (#1021)
* fn: user friendly timeout handling changes

Timeout setting in routes now means "maximum amount
of time a function can run in a container".

Total wait time for a given http request is now expected
to be handled by the client. As long as the client waits,
the LB, runner or agents will search for resources to
schedule it.
2018-06-01 13:18:13 -07:00
..

FN integration API tests

These are tests that can either run locally against the current codebase (e.g. in an IDE) or remotely against a running Fn instance.

Test dependencies

DOCKER_HOST - for building images
FN_API_URL - Fn API endpoint - leave this unset to test using the local codebase

How to run tests?

export FN_API_URL=http://localhost:8080
go test -v ./...