run lua plugin tests
This commit is contained in:
parent
e152ee3688
commit
1804dfbd54
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ std = 'ngx_lua'
|
||||||
globals = {
|
globals = {
|
||||||
'_TEST'
|
'_TEST'
|
||||||
}
|
}
|
||||||
exclude_files = {'./rootfs/etc/nginx/lua/test/**/*.lua'}
|
exclude_files = {'./rootfs/etc/nginx/lua/test/**/*.lua', './rootfs/etc/nginx/lua/plugins/**/test/**/*.lua'}
|
||||||
files["rootfs/etc/nginx/lua/lua_ingress.lua"] = {
|
files["rootfs/etc/nginx/lua/lua_ingress.lua"] = {
|
||||||
ignore = { "122" },
|
ignore = { "122" },
|
||||||
-- TODO(elvinefendi) figure out why this does not work
|
-- TODO(elvinefendi) figure out why this does not work
|
||||||
|
|
|
@ -31,4 +31,4 @@ resty \
|
||||||
--shdict "balancer_ewma 1M" \
|
--shdict "balancer_ewma 1M" \
|
||||||
--shdict "balancer_ewma_last_touched_at 1M" \
|
--shdict "balancer_ewma_last_touched_at 1M" \
|
||||||
--shdict "balancer_ewma_locks 512k" \
|
--shdict "balancer_ewma_locks 512k" \
|
||||||
./rootfs/etc/nginx/lua/test/run.lua ${BUSTED_ARGS} ./rootfs/etc/nginx/lua/test/
|
./rootfs/etc/nginx/lua/test/run.lua ${BUSTED_ARGS} ./rootfs/etc/nginx/lua/test/ ./rootfs/etc/nginx/lua/plugins/**/test
|
||||||
|
|
Loading…
Reference in a new issue