-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Migrate e2e test for AWS SQS Queue scaler to Go. #3172
Comments
Hi, In e2e test you querying an actual SQS queue in AWS? not mock? |
Yes, all of the e2e tests query actual resources. |
So I'll start take a look at this test. you can assign this to me 😎 |
Ahaha, I am not in charge here :) Just helping out. Think you can assign it to yourself as well actually. |
Can't assign myself, so let's wait for KEDA owners |
I'm still wondering about using real AWS resources. don't you think it's better to use sqs mock? (something like https://hub.docker.com/r/roribio16/alpine-sqs/) My concern is case when something really bad happening and we aren't able to clean the AWS resource created by the test. how do you handle such cases? Of course a pre condition requirement is the ability to set custom endpoint for aws resources which is currently unsupported. Let me know what you think. |
hey @aviadlevy The advantage of using real resources is that we can detect/check real behaviors, mocks usually doesn't support all the scenarios like authentication or pod-identities (we want to cover them also with e2e test). From costs pov, CNCF gives credit on principal cloud providers so it's not a problem, we try to cleanup all resources after tests but it's not a problem if they are there after the test during some time due to an error |
Thanks @JorTurFer for the elaborate explanation |
Proposal
Relates to #2357, #2737.
Use-Case
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: