Skip to content

feat(LocalLambdaService): Integ test for start-lambda command - #550

Merged
sanathkr merged 2 commits into
aws:developfrom
jfuss:lls-integ-tests
Jul 11, 2018
Merged

sanathkr merged 2 commits into
aws:developfrom
jfuss:lls-integ-tests

Conversation

@jfuss

@jfuss jfuss commented Jul 11, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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?

@sanathkr sanathkr left a comment

Copy link
Copy Markdown

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
Copy Markdown

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