@cryptotaxi247 / kubo / commits / 6ebbd9d39

test: skip flaky pubsub test (#9770)

This test flakes very often and we plan on removing this feature entirely, so disabling this test since its failures are pretty disruptive.

Gus Eggert committed Mar 29, 2023 at 11:56 UTC 6ebbd9d39bdd14fdd229322c7803543d01269422
1 file changed +4 -3
test/integration/pubsub_msg_seen_cache_test.go
+4 -3
@@ -20,16 +20,17 @@ import (
20 "github.com/ipfs/go-datastore"
21 syncds "github.com/ipfs/go-datastore/sync"
22
23 - "github.com/libp2p/go-libp2p-pubsub"
24 - "github.com/libp2p/go-libp2p-pubsub/pb"
23 + pubsub "github.com/libp2p/go-libp2p-pubsub"
24 + pubsub_pb "github.com/libp2p/go-libp2p-pubsub/pb"
25 "github.com/libp2p/go-libp2p-pubsub/timecache"
26 "github.com/libp2p/go-libp2p/core/peer"
27
28 mock "github.com/ipfs/kubo/core/mock"
29 - "github.com/libp2p/go-libp2p/p2p/net/mock"
29 + mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
30 )
31
32 func TestMessageSeenCacheTTL(t *testing.T) {
33 + t.Skip("skipping PubSub seen cache TTL test due to flakiness")
34 if err := RunMessageSeenCacheTTLTest(t, "10s"); err != nil {
35 t.Fatal(err)
36 }