Skip to content

test(agent): Fix tests without cmd.Wait() #7029

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 6, 2023
Merged

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Apr 6, 2023

Ran into inexplicable test failures for these tests, so I added some
output logging and a call to cmd.Wait() which is mandatory to clean up
resources after cmd.Start().

Example fail: https://github.com/coder/coder/actions/runs/4628494446/jobs/8188565663?pr=7004

Ran into inexplicable test failures for these tests, so I added some
output logging and a call to `cmd.Wait()` which is mandatory to clean up
resources after `cmd.Start()`.
@mafredri mafredri self-assigned this Apr 6, 2023
@mafredri mafredri requested review from mtojek and deansheather April 6, 2023 13:28
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

👍

@mafredri mafredri merged commit 121c2bc into main Apr 6, 2023
@mafredri mafredri deleted the mafredri/test-fix-cmd-wait branch April 6, 2023 13:45
@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 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.

3 participants