damccorm commented on code in PR #17587:
URL: https://github.com/apache/beam/pull/17587#discussion_r874249658
##########
sdks/go/pkg/beam/core/graph/coder/bytes_test.go:
##########
@@ -59,3 +59,23 @@ func TestEncodeDecodeBytes(t *testing.T) {
})
}
}
+
+func FuzzEncodeDecodeBytes(f *testing.F) {
Review Comment:
IIRC testing with the fuzz flag is not guaranteed to ever terminate. I tried
testing this out and its been running `FuzzEncodeDecodeBytes` for several
minutes.
It also seemed like `go test -fuzz ./...` didn't actually correctly run the
fuzz tests, it seems like they may need to be run one at a time:
```
dannymccormick-macbookpro:coder dannymccormick$ go test -fuzz ./...
testing: will not fuzz, -fuzz matches more than one fuzz test:
[FuzzEncodeDecodeBytes FuzzEncodeDecodeDouble FuzzEncodeDecodeUInt64
FuzzEncodeDecodeInt32 FuzzEncodeDecodeStringUTF8LP]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]