[ipfs/go-bitswap] Fix Flaky CI tests
- Dominant language
- Go
- Stars
- 316
- Forks
- 163
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 8
Description
As a result of ipfs/go-bitswap#485 updating our CI process we're finding a lot of flaky tests.
Our broken tests so far, along with the failures we've gotten.
- [x] TestTaggingUseful
- `engine_test.go:1072: 1 peer should be tagged, but 0 were`
- [x] TestNetworkCounters
- `ipfs_impl_test.go:594: expected 20 received reply messages, got 19`
- [x] TestDontHaveTimeoutMgrTimeout
- `donthavetimeoutmgr_test.go:118: expected second set of keys to timeout`
- [x] TestDontHaveTimeoutMgrCancel
- `donthavetimeoutmgr_test.go:149: expected timeout`
- [x] TestDontHaveTimeoutRepeatedAddPending
- `donthavetimeoutmgr_test.go:221: expected timeout`
- [x] TestDontHaveTimeoutMgrUsesDefaultTimeoutIfPingError
- `donthavetimeoutmgr_test.go:320: expected timeout not to have happened yet`
- [x] TestWantlistRebroadcast
- `messagequeue_test.go:439: wrong number of messages were rebroadcast`
- [x] TestResponseReceived
-` messagequeue_test.go:638: expected latency to be time since oldest message sent`
- [x] TestResponseReceivedDiscardsOutliers
- `messagequeue_test.go:720: expected one latency update`
- [ ] TestSessionFailingToGetFirstBlock
- `session_test.go:442: Should have increased tick length after first consecutive tick`
- `session_test.go:433: did not rebroadcast whole live list`
- [ ] TestPutAfterSessionCacheEvict
- `bitswap_with_sessions_test.go:391: timed out waiting for block`
- [ ] TestWireTap
- `bitswap_test.go:943: expected message to be received`
- `bitswap_test.go:949: expected 1 entry in Wantlist, found 0`
- [x] TestBlockstoreManagerCtxDone
- `blockstoremanager_test.go:256: expected a fast timeout`
- [x] TestRateLimitingRequests
- `providerquerymanager_test.go:286: Did not make all seperate requests`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.