os: TestRootConcurrentClose fails when runtime.AddCleanup is used #71117
Labels
arch-wasm
WebAssembly issues
BugReport
Issues describing a possible bug in the Go implementation.
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
While in the process of replacing the use of runtime.SetFinalizer with runtime.AddCleanup (#70907) in the
os
package, the TestRootConcurrentClose tests started failing. An investigation into the build error on go.dev/cl/638555 showed that on thegotip-wasip1-wasm_wazero
builder,TestRootConcurrentClose
fails because the goroutine that is spawned runs continuously and never allows the the original goroutine to continue processing.Umbrella issue: #71134
@golang/wasm
The text was updated successfully, but these errors were encountered: