Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix concurrent map access in
TestStatsFetcher
The map of in-flight RPCs gets cleared by a goroutine in the test without first locking it to make sure that it's not being accessed concurrently by the stats fetcher itself. This can cause a panic in tests. Backport of #14496
- Loading branch information