summaryrefslogtreecommitdiff
path: root/api_changes.md
diff options
context:
space:
mode:
authorRohit Jnagal <jnagal@google.com>2015-04-27 12:40:32 -0700
committerRohit Jnagal <jnagal@google.com>2015-04-27 12:40:32 -0700
commit5ccad95c4965ee13a8c4db46045c157939a97730 (patch)
tree3cf2fcd212b9be6e23a0d05ef537b4c34732ab26 /api_changes.md
parenteb7b52f95ad2af7378be8ca2ab3bbba8b1a00f34 (diff)
parentef8d5722be698e57886b2c47df2bdddb9d37da9e (diff)
Merge pull request #7314 from pmorie/doc
Add hint re: fuzzer to api changes doc
Diffstat (limited to 'api_changes.md')
-rw-r--r--api_changes.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/api_changes.md b/api_changes.md
index 6ab86ce0..5e648544 100644
--- a/api_changes.md
+++ b/api_changes.md
@@ -236,7 +236,9 @@ assumptions. If you have added any fields which need very careful formatting
"this slice will always have at least 1 element", you may get an error or even
a panic from the `serialization_test`. If so, look at the diff it produces (or
the backtrace in case of a panic) and figure out what you forgot. Encode that
-into the fuzzer's custom fuzz functions.
+into the fuzzer's custom fuzz functions. Hint: if you added defaults for a field,
+that field will need to have a custom fuzz function that ensures that the field is
+fuzzed to a non-empty value.
The fuzzer can be found in `pkg/api/testing/fuzzer.go`.