Skip to content

Commit 3a0965a

Browse files
authored
Fix facebook/time leaphash fuzzing (#14125)
Fuzzing for facebook/time/leaphash is broken : https://github.com/facebook/time/actions/runs/18468217446/job/52615356061?pr=476 Commenting out the test function breaks go build due to an unused import on fuzzing, comment out unnecessary import
1 parent e7daf97 commit 3a0965a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/time/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ go get github.com/facebook/time/fbclock/daemon
2424

2525
# FuzzCompute
2626
sed -i -e '/func TestHashShouldMatch(/,/^}/ s/^/\/\//' leaphash/leaphash_test.go
27+
sed -i -e '/\"github.com\/stretchr\/testify\/require\"/ s/^/\/\//' leaphash/leaphash_test.go
2728

2829
# FuzzBytesToPacket
2930
sed -i -e '/func Benchmark.*(/,/^}/ s/^/\/\//' ntp/protocol/ntp_test.go

0 commit comments

Comments
 (0)