Skip to content

Conversation

@sapessi
Copy link
Contributor

@sapessi sapessi commented Mar 25, 2020

  • Bumped Node versions in .travis.yml to the LTS versions support in AWS Lambda (10 and 12)
  • Disabled failing integration test

The integration test failure is caused by a change in Node's behavior after version 10. Requests with a body and content-length header value < 0 used to throw an exception, caught by our library and handled by returning a 502 error. In the latest releases of Node these requests don't fail anymore and instead reach Express that returns a 400.

I have disabled the integration test since the model of the 502 response is still checked by our unit tests. We will need to find a different way to cause Node/Express to throw an exception to validate the behavior in integration tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sapessi sapessi merged commit 91f2b46 into master Mar 25, 2020
@sapessi
Copy link
Contributor Author

sapessi commented Mar 25, 2020

🎉 This PR is included in version 3.3.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants