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

Update test that fails locally #1025

Merged
merged 3 commits into from
Feb 22, 2023

Conversation

vcheung-stripe
Copy link
Collaborator

Reviewers

r? @stripe/developer-products
cc @stripe/developer-products

Summary

This test passes in CI, but fails locally when you run make test due to side effects from other tests. Fix this by running the test in its own subprocess as per https://stackoverflow.com/questions/26225513/how-to-test-os-exit-scenarios-in-go

@vcheung-stripe vcheung-stripe requested a review from a team as a code owner February 3, 2023 00:47
@endless-win
Copy link

rr

Copy link
Contributor

@ianjabour-stripe ianjabour-stripe left a comment

Choose a reason for hiding this comment

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

LGTM

@vcheung-stripe vcheung-stripe merged commit 835a837 into master Feb 22, 2023
@vcheung-stripe vcheung-stripe deleted the vcheung/update-TestReadProjectFromEnv branch February 22, 2023 21:33
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.

3 participants