Race condition caused by cache walker
Since !1424 (merged) we sometimes have failing go test -race
tests because:
- we spawn a cache dir walker goroutine via a package
init()
function - that walker accesses
config.Config
, which test functions regularly modify
https://gitlab.com/gitlab-org/gitaly/-/jobs/274180503 example failing build