Open marten-seemann opened 3 years ago
When running with race detector. Timing issue?
=== RUN TestSkipRefreshOnGapCpls rt_refresh_manager_test.go:42: Error Trace: rt_refresh_manager_test.go:42 rt_refresh_manager.go:298 rt_refresh_manager.go:279 rt_refresh_manager.go:212 rt_refresh_manager.go:234 rt_refresh_manager_test.go:89 Error: Should be true Test: TestSkipRefreshOnGapCpls --- FAIL: TestSkipRefreshOnGapCpls (0.00s) FAIL FAIL github.com/libp2p/go-libp2p-kad-dht/rtrefresh 0.056s
Probably not a timing issue. I can reliably reproduce this locally by running the tests with -count=100.
-count=100
When running with race detector. Timing issue?