Skip to content

Commit

Permalink
run lua plugin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvinEfendi committed Mar 11, 2020
1 parent e152ee3 commit 1804dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ std = 'ngx_lua'
globals = {
'_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"] = {
ignore = { "122" },
-- TODO(elvinefendi) figure out why this does not work
Expand Down
2 changes: 1 addition & 1 deletion build/test-lua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ resty \
--shdict "balancer_ewma 1M" \
--shdict "balancer_ewma_last_touched_at 1M" \
--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

0 comments on commit 1804dfb

Please sign in to comment.