Less fuzzing
Limit the number of runs of the markup fuzzer in order to save time.
This commit is contained in:
parent
63e2b0b663
commit
87556f77cc
|
@ -251,6 +251,7 @@ describe("smr",function()
|
||||||
end)
|
end)
|
||||||
it("should be named appropriately",function()
|
it("should be named appropriately",function()
|
||||||
local f = assert(io.open("endpoints/"..fname .. ".lua","r"))
|
local f = assert(io.open("endpoints/"..fname .. ".lua","r"))
|
||||||
|
f:close()
|
||||||
end)
|
end)
|
||||||
it("should run without errors",function()
|
it("should run without errors",function()
|
||||||
require("endpoints." .. fname)
|
require("endpoints." .. fname)
|
||||||
|
@ -265,7 +266,7 @@ describe("smr",function()
|
||||||
end)
|
end)
|
||||||
it("should call http_response() at some point #slow",function()
|
it("should call http_response() at some point #slow",function()
|
||||||
local pagefunc = require("endpoints." .. fname)
|
local pagefunc = require("endpoints." .. fname)
|
||||||
for i = 1,1000 do
|
for i = 1,10 do
|
||||||
local req = {}
|
local req = {}
|
||||||
req.method = method
|
req.method = method
|
||||||
req.path = obj.route
|
req.path = obj.route
|
||||||
|
|
Loading…
Reference in New Issue