Skip to content
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

Merged
merged 2 commits into from
Jul 11, 2018

Conversation

jfuss
Copy link
Contributor

@jfuss jfuss commented Jul 11, 2018

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.

use_ssl=False,
verify=False,
config=Config(signature_version=UNSIGNED,
read_timeout=120,
Copy link
Contributor

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?

Copy link
Contributor

@sanathkr sanathkr left a 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:
Copy link
Contributor

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

@sanathkr sanathkr merged commit 3ed8bc4 into aws:develop Jul 11, 2018
heitorlessa added a commit to heitorlessa/aws-sam-cli that referenced this pull request Jul 21, 2018
* 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)
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.

2 participants