Skip to content

fix(clitest): use separate channel when waiting for exit #7231

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

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

coadler
Copy link
Contributor

@coadler coadler commented Apr 20, 2023

Previously the cleanup function could eat the error that Wait() was listening for, causing a panic.

See: https://github.com/coder/coder/actions/runs/4757403706/jobs/8454424838#step:9:989

Closes #7229

Previously the cleanup function could eat the error that `Wait()` was
listening for, causing a panic.

See: https://github.com/coder/coder/actions/runs/4757403706/jobs/8454424838#step:9:989
@coadler coadler self-assigned this Apr 20, 2023
@coadler coadler requested review from mafredri and ammario April 20, 2023 19:16
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

Updated your PR description to close my PR, this approach is good too 😄

@coadler
Copy link
Contributor Author

coadler commented Apr 20, 2023

Oh whoops! Not sure how I missed your pr 😅

Happy to go in either direction!

@coadler coadler merged commit 34c6ad6 into main Apr 20, 2023
@coadler coadler deleted the colin/fix-cli-flake branch April 20, 2023 19:37
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants