Skip to content

Commit

Permalink
test: skip flaky pubsub test (#9770)
Browse files Browse the repository at this point in the history
This test flakes very often and we plan on removing this feature
entirely, so disabling this test since its failures are pretty disruptive.
  • Loading branch information
guseggert committed Mar 29, 2023
1 parent 3ab1086 commit 6ebbd9d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/integration/pubsub_msg_seen_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,17 @@ import (
"github.com/ipfs/go-datastore"
syncds "github.com/ipfs/go-datastore/sync"

"github.com/libp2p/go-libp2p-pubsub"
"github.com/libp2p/go-libp2p-pubsub/pb"
pubsub "github.com/libp2p/go-libp2p-pubsub"
pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb"
"github.com/libp2p/go-libp2p-pubsub/timecache"
"github.com/libp2p/go-libp2p/core/peer"

mock "github.com/ipfs/kubo/core/mock"
"github.com/libp2p/go-libp2p/p2p/net/mock"
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
)

func TestMessageSeenCacheTTL(t *testing.T) {
t.Skip("skipping PubSub seen cache TTL test due to flakiness")
if err := RunMessageSeenCacheTTLTest(t, "10s"); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 6ebbd9d

Please sign in to comment.