Flaky test: internal/git/catfile.TestAutoExpiry?
https://dev.gitlab.org/gitlab/gitaly/-/jobs/4930868 (private link)
Test failure
--- FAIL: TestAutoExpiry (0.01s)
<autogenerated>:1:
Error Trace: batch_cache_test.go:151
Error: "[{key-0 }]" should not contain "{key-0 }"
Test: TestAutoExpiry
Messages: key should no longer be in map
I don't know if this means we have a race condition, or that the test makes assumptions about e.g. goroutine scheduling that are not true when the code is compiled with race detection. Now also observed in make test
, so it is not specific to make race
.
Edited by Jacob Vosmaer