-
Notifications
You must be signed in to change notification settings - Fork 2k
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
async shutdown in nomad package causes test-only panics #7132
Comments
An example from working on #7124:
|
Hey there Since this issue hasn't had any activity in a while - we're going to automatically close it in 30 days. If you're still seeing this issue with the latest version of Nomad, please respond here and we'll keep this open and take another look at this. Thanks! |
I haven't run into these in a long time. Going to close this out. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
If a goroutine is running after a test exits, any logging it does will cause a panic on the main test goroutine. This particularly seems to be an issue with the
nomad
package, because the shutdown of the server isn't synchronous in all places the way it is for clients.This isn't a production-facing issue but it makes testing flaky. From a discussion with @schmichael we want to collect some examples. We'll then follow-up with some work to make incremental improvements to server shutdown where we see consistent problems.
The text was updated successfully, but these errors were encountered: