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

Pass context from integration tests #1859

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

carolynvs
Copy link
Member

What does this change

The integration tests accidentally were passing nil for the context
after I added context.Context as a parameter to some Porter commands in #1831.
This passes in context.Background to fix the nil pointer exceptions that
was causing.

What issue does it fix

Fixes the porter-integration build on release/v1

Notes for the reviewer

Sorry I forgot to manually run the integration tests on that PR before merging. I'll add integration tests to the PR checklist template.

Checklist

  • Unit Tests
  • Documentation
  • Schema (porter.yaml)

The integration tests accidentally were passing nil for the context
after I added context.Context as a parameter to some Porter commands in getporter#1831.
This passes in context.Background to fix the nil pointer exceptions that
was causing.

Signed-off-by: Carolyn Van Slyck <[email protected]>
@carolynvs
Copy link
Member Author

/azp run porter-integration

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@carolynvs carolynvs marked this pull request as ready for review January 12, 2022 16:35
@carolynvs carolynvs merged commit f881421 into getporter:release/v1 Jan 12, 2022
@carolynvs carolynvs deleted the fix-panic branch January 12, 2022 16:38
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.

1 participant