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

Increase test coverage of instrumentation-aws-lambda #2760

Merged

Conversation

jbfenton
Copy link
Contributor

Description

Split from: #2585

Increases the test coverage of instrumentation-aws-lambda in preparation for adding support for ALB events (and eventual refactoring)

Type of change

  • Increase test coverage

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Sample events have been added for all types of events that the instrumentation supports.
  • Unit test coverage has been increased.

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
    • No changes to the instrumentation have been made. Tests only.
  • Unit tests have been added
  • Documentation has been updated
    • No changes to the instrumentation have been made. Tests only.

@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jul 31, 2024
Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than a few nits LGTM, fellow reviewers easier to review after disabling whitespace differences (adding ?w=1 to the url)

@lzchen
Copy link
Contributor

lzchen commented Aug 1, 2024

@jbfenton

Feel free to enable maintainer editing so we can rebase for you :)

@jbfenton jbfenton force-pushed the increase_aws_lambda_test_coverage branch 2 times, most recently from e39d67b to 9b371f8 Compare August 4, 2024 02:06
@jbfenton jbfenton requested review from xrmx and emdneto August 4, 2024 02:52
Copy link
Contributor

@xrmx xrmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the small nit LGTM

@jbfenton jbfenton force-pushed the increase_aws_lambda_test_coverage branch from 9b371f8 to b814355 Compare August 5, 2024 11:00
@xrmx xrmx mentioned this pull request Aug 5, 2024
11 tasks
@lzchen lzchen merged commit 0d28c8b into open-telemetry:main Aug 5, 2024
395 checks passed
@jbfenton jbfenton deleted the increase_aws_lambda_test_coverage branch August 7, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants