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

test: Update WithOffset so that failures point to outer call to helper function #2530

Merged
merged 2 commits into from Sep 22, 2022

Conversation

jonathan-innis
Copy link
Contributor

Fixes #

Description

  • Updates all helper functions to have WithOffset options so that the caller function line number will be referenced on failure rather than just pointing to the inner failure in the helper function which may not be useful.

How was this change tested?

  • TEST_FILTER=Integration make e2etests

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@netlify
Copy link

netlify bot commented Sep 19, 2022

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 9c0c2dc
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/6328f0c0bb08e900089aa026

@jonathan-innis jonathan-innis force-pushed the with-offset branch 2 times, most recently from 7dfc148 to 18adecc Compare September 19, 2022 16:23
@jonathan-innis jonathan-innis force-pushed the with-offset branch 2 times, most recently from 49ec30c to c74f5c3 Compare September 19, 2022 22:34
Copy link
Contributor

@tzneal tzneal left a comment

Choose a reason for hiding this comment

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

lgtm

@jonathan-innis jonathan-innis merged commit c9970a2 into aws:main Sep 22, 2022
@jonathan-innis jonathan-innis deleted the with-offset branch September 22, 2022 22:14
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.

None yet

2 participants