Files
fn-serverless/test/fn-api-tests
Tolga Ceylan c0ee3ce736 fn: locked mutex while blocked on I/O considered harmful (#935)
* fn: mutex while waiting I/O considered harmful

*) Removed hold mutex while wait I/O cases these
included possible disk I/O and network I/O.

*) Error/Context Close/Shutdown semantics changed since
the context timeout and comments were misleading. Close
always waits for pending gRPC session to complete.
Context usage here was merely 'wait up to x secs to
report an error' which only logs the error anyway.
Instead, the runner can log the error. And context
still can be passed around perhaps for future opencensus
instrumentation.
2018-04-13 11:23:29 -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 ./...