You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
148634: kvnemesis: first step towards a fuzzed KVNemesis r=miraradeva a=stevendanna
You can run this test with the go fuzzer with something like:
go test ./pkg/kv/kvnemesis/ -test.fuzz=FuzzKVNemesisSingleNode \
-test.fuzzcachedir=_fuzzcache -v -test.run=^$ \
-tags crdb_test -timeout=300m -parallel=4
It can also be run under bazel, but I have not yet sorted out all of the flags needed to get a coverage enabled build and to ensure that the failing test cases get written somewhere that can be referenced on subsequent runs.
The idea here is that the fuzzer provides a []byte that then determines the output of all random decisions in KVNemesis. This doesn't account for metamorphic decisions made outside of KVNemesis.
KVNemesis is a rather heavyweight test which seemed to be a problem for running it reliably under go-fuzz; however, go-fuzz's poor diagnostics when the test worker crash has made it hard to determine the exact cause so far.
Epic: none
Release note: None
Co-authored-by: Steven Danna <[email protected]>
0 commit comments