diff --git a/test/integration/bench_test.go b/test/integration/bench_test.go index bc5a22ea91dc..fd1a7446ac76 100644 --- a/test/integration/bench_test.go +++ b/test/integration/bench_test.go @@ -4,10 +4,14 @@ import ( "testing" "github.com/ipfs/go-ipfs/thirdparty/unit" + ci "github.com/libp2p/go-libp2p-testing/ci" testutil "github.com/libp2p/go-libp2p-testing/net" ) func benchmarkAddCat(numBytes int64, conf testutil.LatencyConfig, b *testing.B) { + if numBytes > 128*unit.MB && ci.IsRunning() { + b.Skip("skipping memory intensive benchmark in ci") + } b.StopTimer() b.SetBytes(numBytes)