diff options
| author | Jay Conrod <jayconrod@google.com> | 2021-08-16 16:48:27 -0700 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2021-08-31 20:39:19 +0000 |
| commit | 37f5885f29068d869e161c4ee8ee17c3e1195cc8 (patch) | |
| tree | f370191636a5eacc2ee78801689f066418ebb91c /src/testing/fuzz.go | |
| parent | 18c288ef8b8a3e7d2c02d3bb4c06e9f7c006b9da (diff) | |
| download | go-37f5885f29068d869e161c4ee8ee17c3e1195cc8.tar.xz | |
[dev.fuzz] internal/fuzz: fail minimization on non-reproducible crash
workerServer.minimize now returns a response with Success = false when
the fuzz function run with the original input does not produce an
error. This may indicate flakiness.
The coordinator still records a crash, but it will use the unminimized
input with its original error message.
When minimization of interesting inputs is supported, Success = false
indicates that new coverage couldn't be reproduced, and the input will
be discarded.
Change-Id: I72c0e9808f0b0e5390dc7b64141cd0d653ee0af3
Reviewed-on: https://go-review.googlesource.com/c/go/+/342996
Trust: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Diffstat (limited to 'src/testing/fuzz.go')
0 files changed, 0 insertions, 0 deletions
