ci: reduce fuzz count
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-09-09 01:18:38 +02:00 committed by Gitea
parent dd2a7122c2
commit ae7209c334
2 changed files with 7 additions and 2 deletions

View file

@ -36,7 +36,7 @@ local testing(version, arch) = {
name: "fuzz",
image: "golang:" + version,
commands: [
"make fuzz",
"make fuzz-ci",
],
depends_on: [
"lint",

View file

@ -62,7 +62,12 @@ test-ci:
fuzz: $(TEST_SOURCES)
$(TEST) -fuzz=FuzzFlags -fuzztime 10000x ./cli
$(TEST) -fuzz=FuzzDig -fuzztime 10000x ./cli
$(TEST) -fuzz=FuzzParseArgs -fuzztime 5000x ./cli
$(TEST) -fuzz=FuzzParseArgs -fuzztime 10000x ./cli
fuzz-ci: $(TEST_SOURCES)
$(TEST) -fuzz=FuzzFlags -fuzztime 1000x ./cli
$(TEST) -fuzz=FuzzDig -fuzztime 1000x ./cli
$(TEST) -fuzz=FuzzParseArgs -fuzztime 1000x ./cli
.PHONY: full_test
full_test: test fuzz