-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: Correction of integration tests for canary environments #3532
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
| self.assertIn(warning_message, deploy_process_execute.stdout) | ||
| self.assertEqual(deploy_process_execute.process.returncode, 0) | ||
|
|
||
| def _method_to_stack_name(self, method_name): |
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.
Why we don't need this anymore?
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.
Same as above, why do we delete these methods?
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.
It is already in package's base class, this is a duplicate and missed imports caused some failures
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 refactored these methods to be shared together by sync and deploy through package base
* SAM INIT Update * resolved conflict * test added and updated * block default prompt when Image packageType is provide and skip use case prompt when --app-template is provided * update default hello world prompt * filtering updates * added typing * Fixing failed canaries (#3532) * (fix) stop resolving relative paths for Function image URI (#3531) * (fix) stop resolve relative paths for function imageUri * fix unit testing * update template_does_not_meet_filter_criteria use <dict>.get Co-authored-by: Mehmet Nuri Deveci <[email protected]> Co-authored-by: Qingchuan Ma <[email protected]> Co-authored-by: Mohamed Elasmar <[email protected]>
* SAM INIT Update * resolved conflict * test added and updated * block default prompt when Image packageType is provide and skip use case prompt when --app-template is provided * update default hello world prompt * filtering updates * added typing * Fixing failed canaries (aws#3532) * (fix) stop resolving relative paths for Function image URI (aws#3531) * (fix) stop resolve relative paths for function imageUri * fix unit testing * update template_does_not_meet_filter_criteria use <dict>.get Co-authored-by: Mehmet Nuri Deveci <[email protected]> Co-authored-by: Qingchuan Ma <[email protected]> Co-authored-by: Mohamed Elasmar <[email protected]>
* SAM INIT Update * resolved conflict * test added and updated * block default prompt when Image packageType is provide and skip use case prompt when --app-template is provided * update default hello world prompt * filtering updates * added typing * Fixing failed canaries (aws#3532) * (fix) stop resolving relative paths for Function image URI (aws#3531) * (fix) stop resolve relative paths for function imageUri * fix unit testing * update template_does_not_meet_filter_criteria use <dict>.get Co-authored-by: Mehmet Nuri Deveci <[email protected]> Co-authored-by: Qingchuan Ma <[email protected]> Co-authored-by: Mohamed Elasmar <[email protected]>
Which issue(s) does this change fix?
Why is this change necessary?
How does it address the issue?
What side effects does this change have?
Checklist
make prpassesmake update-reproducible-reqsif dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.