Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full stack FDK tests #68

Open
denismakogon opened this issue Feb 25, 2019 · 2 comments
Open

Full stack FDK tests #68

denismakogon opened this issue Feb 25, 2019 · 2 comments

Comments

@denismakogon
Copy link
Member

As for now, there's a need to run full stack tests on FDK:

  1. Download the CLI (latest).
  2. Download and start background Fn server.
  3. Do tests that involve boilerplate generation for the following cases:
  • simple hello-world
  • response with headers
  • context operations
  • deadline manipulations.
@riconnon
Copy link
Contributor

I'm not actually sure we do need this. We just need to test against the FDK contract. If eg. if Fn-Deadline is specified we should have the appropriate deadline.

@denismakogon
Copy link
Member Author

There’s no way to test this within the FDK only, because we might have the problem we had with the deadline header. This type of things must be tested within the Fn + FDK. This type of test may help to catch the regression in the amount of time being consumed by Fn before starting the response listener (deadline header is a time stamp, but not the amount of seconds/minutes to wait until aborting a user’s call).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants