-
Notifications
You must be signed in to change notification settings - Fork 881
Fix issues reported by goleak
in cli
package tests and then enable goleak
#3221
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
Labels
api
Area: HTTP API
Comments
mafredri
added a commit
that referenced
this issue
Jul 27, 2022
Commands are now also run with contexts that time out. Work towards #3221.
mafredri
added a commit
that referenced
this issue
Jul 27, 2022
mafredri
added a commit
that referenced
this issue
Jul 27, 2022
Related: pion/udp#73, hashicorp/hc-install#68 |
mafredri
added a commit
that referenced
this issue
Aug 2, 2022
We could turn it into a practice to wrap `cmd.Context()` so that we have more fine-grained control of cancellation. Sometimes in tests we may be running commands with a context that is never canceled. Related to #3221
mafredri
added a commit
that referenced
this issue
Aug 2, 2022
…3354) * fix: Improve shutdown procedure of ssh, portforward, wgtunnel cmds We could turn it into a practice to wrap `cmd.Context()` so that we have more fine-grained control of cancellation. Sometimes in tests we may be running commands with a context that is never canceled. Related to #3221 * fix: Set ssh session stderr to stderr
This was referenced Aug 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per the title, we have not had
goleak
enabled for CLI tests. We should turn it on and work through each test that is causing leaks to be reported with the final goal of permanently enablinggoleak
.The text was updated successfully, but these errors were encountered: