Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
chore: disable flaky TestWantlistRebroadcast test
Browse files Browse the repository at this point in the history
see #481
  • Loading branch information
Stebalien committed May 17, 2021
1 parent 7ed466a commit ca847df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bitswap_with_sessions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func assertBlockLists(got, exp []blocks.Block) error {
}

func TestSessionBetweenPeers(t *testing.T) {
t.Skip("flaky, https://github.com/ipfs/go-bitswap/issues/442")
ctx, cancel := context.WithCancel(context.Background())
defer cancel()

Expand Down
1 change: 1 addition & 0 deletions internal/decision/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ func TestTaggingPeers(t *testing.T) {
}

func TestTaggingUseful(t *testing.T) {
t.Skip("flaky, https://github.com/ipfs/go-bitswap/issues/472")
peerSampleInterval := 1 * time.Millisecond

ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
Expand Down
2 changes: 2 additions & 0 deletions internal/messagequeue/messagequeue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ func TestWantOverridesPendingCancels(t *testing.T) {
}

func TestWantlistRebroadcast(t *testing.T) {
t.Skip("this test is flaky, see https://github.com/ipfs/go-bitswap/issues/481")

ctx := context.Background()
messagesSent := make(chan []bsmsg.Entry)
resetChan := make(chan struct{}, 1)
Expand Down

0 comments on commit ca847df

Please sign in to comment.