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
Integration tests suite for provisionedConcurrency #8321
Comments
Thanks @pgrzesik for opening that. Let me know if you have other suggestions or findings |
I think that the approach you suggested originally should work quite well. The only other approach that came to my mind is to keep Which approach is better in your opinion? |
I think keeping it in one place, will allow us to rely on single provisioned lambda, and that I think will be more performant (and will incur less costs). It's the only reason I called for that. |
Thanks for the clarification on that topic. Just to clarify the last thing - if I understand it correctly, we will start out with a single function with Originally I thought that each new event will get a separate function but that also makes a ton of sense from efficiency/costs perspective 👍 |
Hopefully that could be the case, but if for some reason it'll be a no go, we'd need to introduce an other function |
Perfect, thanks a ton, I'll be happy to pick up this one if that's okay 👍 |
That'll be great @pgrzesik ! Thanks for being a part of the community and your work on improving the Serverless Framework! |
Thanks for the kind words @medikoo, I'm happy that I can help and contribute at least a little bit 🙇 |
I took the liberty of moving the conversation about integration tests for
provisionedConcurrency
from the discussion in this PR: #8298 (comment)Use case description
The goal here is to provide coverage of
provisionedConcurrency
in our integration test suite.Proposed solution
Solution based on the comment from @medikoo
test/integration/provisionedConcurrency.test.js
test that will cover allprovisionedConcurrency
based cases, starting with just one forsqs
.test/fixtures/provisionedConcurrency
fixture which will have a singleserverless.yml
configuration with all needed functions (starting with just one forsqs
)Before starting the implementation, I would like to resolve if the above sound like a reasonable approach, thanks in advance 🙇
The text was updated successfully, but these errors were encountered: