Commit a4b108a3 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

test: filter-limit: interval

parent 093ab9d4
......@@ -30,8 +30,9 @@ function add(limit_type, filter)
local count = high_rate and 150 or 1
add_limit(count)
for _, interval in ipairs{false, 5} do
for _, log in ipairs{true, false, 'none'} do
local limit = {count=count}
local limit = {count=count, interval=interval or nil}
if log ~= true then limit.log = log end
add_limit(limit)
......@@ -51,6 +52,7 @@ function add(limit_type, filter)
end
end
end
end
end
add('conn', {out='B'})
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment