Skip to content

Conversation

mingkun2020
Copy link
Contributor

@mingkun2020 mingkun2020 commented Feb 19, 2021

Description of changes:
Add region partition test for foss integration tests

Checklist:

  • Write/update tests
  • make pr passes
  • Update documentation
  • Verify transformed template deploys and application functions as expected

Examples?

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.

@mgrandis mgrandis changed the title add partition test test: Add service exclusion by region Feb 19, 2021
"basic_function_openapi",
]
)
@skipIf(should_exclude_test_in_region("LambdaEnvVars"), "LambdaEnvVars is not supported in this testing region")
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@mgrandis mgrandis merged commit c3091e4 into aws:develop Feb 24, 2021
mgrandis pushed a commit to mgrandis/serverless-application-model that referenced this pull request Mar 2, 2021
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

Successfully merging this pull request may close these issues.

3 participants