mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
p2p: Fix pubsub fuzz test (#10583)
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -118,6 +118,7 @@ go_test(
|
||||
"options_test.go",
|
||||
"parameter_test.go",
|
||||
"pubsub_filter_test.go",
|
||||
"pubsub_fuzz_test.go",
|
||||
"pubsub_test.go",
|
||||
"rpc_topic_mappings_test.go",
|
||||
"sender_test.go",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//go:build fuzz && go1.18 && disabled
|
||||
// +build fuzz,go1.18,disabled
|
||||
//go:build go1.18
|
||||
// +build go1.18
|
||||
|
||||
package p2p_test
|
||||
|
||||
@@ -18,7 +18,7 @@ func FuzzMsgID(f *testing.F) {
|
||||
f.Fuzz(func(t *testing.T, topic string) {
|
||||
_, err := p2p.ExtractGossipDigest(topic)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
return
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user