diff options
| author | EuAndreh <eu@euandre.org> | 2026-06-12 23:35:12 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2026-06-12 23:35:12 -0300 |
| commit | 750a04b613d7d8e7de9ab18863ad2a27055b58a2 (patch) | |
| tree | a4b5001be94c37239fb2388e0c6e729dfc4d54f7 /Makefile | |
| parent | tests/remembering.go: Pin getopt(3) positional parsing (diff) | |
| download | remembering-main.tar.gz remembering-main.tar.xz | |
-fuzztime=1s is a wall-clock deadline; under parallel-build load the
fuzzer's setup (worker spawn + baseline coverage) can overrun it and
the run fails with "context deadline exceeded" --- a flake unrelated to
the code. A count budget (1000x) has no wall-clock deadline: it always
runs the seeds + 1000 iterations regardless of load, just slower when
busy. Renamed FUZZSEC -> FUZZTIME since it is no longer seconds.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -127,10 +127,10 @@ check: check-unit check-integration -FUZZSEC=1 +FUZZTIME=1000x fuzz/main.bin-check = $(fuzz/main.go:.go=.bin-check) $(fuzz/main.bin-check): - $(EXEC)$*.bin --test.fuzztime=$(FUZZSEC)s --test.parallel=$N \ + $(EXEC)$*.bin --test.fuzztime=$(FUZZTIME) --test.parallel=$N \ --test.fuzz='.*' --test.fuzzcachedir=tests/fuzz/corpus fuzz: $(fuzz/main.bin-check) |
