From 87556f77cc93c01e8e05aebd60dfd7ff89108f87 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Sun, 20 Feb 2022 00:13:44 +0000 Subject: [PATCH] Less fuzzing Limit the number of runs of the markup fuzzer in order to save time. --- spec/pages_sanity_spec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/pages_sanity_spec.lua b/spec/pages_sanity_spec.lua index fb20019..fa49a0d 100644 --- a/spec/pages_sanity_spec.lua +++ b/spec/pages_sanity_spec.lua @@ -251,6 +251,7 @@ describe("smr",function() end) it("should be named appropriately",function() local f = assert(io.open("endpoints/"..fname .. ".lua","r")) + f:close() end) it("should run without errors",function() require("endpoints." .. fname) @@ -265,7 +266,7 @@ describe("smr",function() end) it("should call http_response() at some point #slow",function() local pagefunc = require("endpoints." .. fname) - for i = 1,1000 do + for i = 1,10 do local req = {} req.method = method req.path = obj.route