You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to report a data race caught by go test -race during my end-to-end test suite (which uses envtest, but does not use Ginkgo) which ended up failing my test.
The data race has occurred during the shutdown sequence. It seems during this time, one of the reconcilers was doing an API call, which ended up getting cancelled due to ctx cancellation I do as part of the tear down (to shut down envtest and the Runnables).
I am not at all sure if it is related to controller-runtime, as the concurrent reader/writer goroutine stacks are pointing to net/http:
I'd like to report a data race caught by
go test -race
during my end-to-end test suite (which usesenvtest
, but does not use Ginkgo) which ended up failing my test.The data race has occurred during the shutdown sequence. It seems during this time, one of the reconcilers was doing an API call, which ended up getting cancelled due to
ctx
cancellation I do as part of the tear down (to shut downenvtest
and theRunnable
s).I am not at all sure if it is related to
controller-runtime
, as the concurrent reader/writer goroutine stacks are pointing tonet/http
:But here it goes.
The text was updated successfully, but these errors were encountered: