-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(LocalLambdaService): Integ test for start-lambda command #550
Conversation
use_ssl=False, | ||
verify=False, | ||
config=Config(signature_version=UNSIGNED, | ||
read_timeout=120, |
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.
Should we set read_timeout
to zero?
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.
Just one minor feedback
retries={'max_attempts': 0})) | ||
|
||
def test_invoke_with_non_json_data(self): | ||
if sys.version_info.major == 2: |
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.
Error message from the CLI should not differ between Python versions. LOG.debug() the actual exception message and remove it from the response msg here
…invalid json data
* develop: docs: Fix @mhart link in README (aws#562) docs: Change jest to mocha in Nodejs init README (aws#564) docs: Fix syntax highlighting in README.md (aws#561) fix: spacing typo in Log statement in start-lambda (aws#559) fix: Functional tests must run on localhost to work in Windows (aws#552) docs: Adding readme for "sam logs" and "sam local start-lambda" command (aws#557) docs: Accessibility and help text changes (aws#554) chore: Preparing for release - v0.5.0 (aws#553) feat(LocalLambdaService): Integ test for start-lambda command (aws#550)
Description of changes:
Add integration tests for
sam local start-lambda
command.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.