Based on the screenshots, I think I find the root cause: we assign the done channel to nil and if we are using it in some other goroutine such as using Done() method, this may trigger the race condition, but I can't write a unit test that fails with or without the race condition detector.
Hello
Few days ago I find this tweet about fasthttp and go-fiber:
https://twitter.com/davidnix_/status/1720454052973044188?s=48
I try to reproduce this issue without success.
Based on the screenshots, I think I find the root cause: we assign the done channel to nil and if we are using it in some other goroutine such as using
Done()
method, this may trigger the race condition, but I can't write a unit test that fails with or without the race condition detector.Regards