-
Notifications
You must be signed in to change notification settings - Fork 2.4k
test: Add service exclusion by region #1935
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
Conversation
"basic_function_openapi", | ||
] | ||
) | ||
@skipIf(should_exclude_test_in_region("LambdaEnvVars"), "LambdaEnvVars is not supported in this testing region") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not find the "LambdaEnvVars" in the exclusion file. Does it mean that it should be supported by all regions?
Also, does it mean that all the test cases, should define the functionality name that it got tested by it regardless it will be added to the exclusion file or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove the "LambdaEnvVars" since it we don't use it in the exclusion file. If we don't want to skip a test in certain region, we don't need to define a service/functionality name in the test case within skipIf decorator.
Description of changes:
Add region partition test for foss integration tests
Checklist:
make pr
passesExamples?
Please reach out in the comments, if you want to add an example. Examples will be
added to
sam init
through https://github.com/awslabs/aws-sam-cli-app-templates/By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.