Skip to content

[ipfs/go-bitswap] Fix Flaky CI tests #86

@aschmahmann

Description

@aschmahmann

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.

  • TestTaggingUseful
    • engine_test.go:1072: 1 peer should be tagged, but 0 were
  • TestNetworkCounters
    • ipfs_impl_test.go:594: expected 20 received reply messages, got 19
  • TestDontHaveTimeoutMgrTimeout
    • donthavetimeoutmgr_test.go:118: expected second set of keys to timeout
  • TestDontHaveTimeoutMgrCancel
    • donthavetimeoutmgr_test.go:149: expected timeout
  • TestDontHaveTimeoutRepeatedAddPending
    • donthavetimeoutmgr_test.go:221: expected timeout
  • TestDontHaveTimeoutMgrUsesDefaultTimeoutIfPingError
    • donthavetimeoutmgr_test.go:320: expected timeout not to have happened yet
  • TestWantlistRebroadcast
    • messagequeue_test.go:439: wrong number of messages were rebroadcast
  • TestResponseReceived
    - messagequeue_test.go:638: expected latency to be time since oldest message sent
  • 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
  • TestBlockstoreManagerCtxDone
    • blockstoremanager_test.go:256: expected a fast timeout
  • TestRateLimitingRequests
    • providerquerymanager_test.go:286: Did not make all seperate requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/testTesting workneed/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions