Skip to content

Commit

Permalink
fix(tests) enable error traces and fix config test
Browse files Browse the repository at this point in the history
Former-commit-id: 5b9d50ecb7c0f7c7a4a0718c7fc99711067e1fef
  • Loading branch information
thibaultcha committed Aug 4, 2015
1 parent 55d22cc commit b6163e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ lint:
@find kong spec -name '*.lua' ! -name 'invalid-module.lua' | xargs luacheck -q

test:
@busted spec/unit
@busted -v spec/unit

test-integration:
@busted spec/integration
Expand All @@ -67,3 +67,6 @@ coverage:
@busted --coverage spec/
@luacov -c spec/.luacov
@tail -n 1 luacov.report.out | awk '{ print $$3 }'

test-all:
@busted -v spec/
1 change: 1 addition & 0 deletions spec/unit/statics_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ nginx: |
lua_shared_dict locks 100k;
lua_shared_dict cache {{memory_cache_size}}m;
lua_socket_log_errors off;
{{lua_ssl_trusted_certificate}}
init_by_lua '
kong = require "kong"
Expand Down

0 comments on commit b6163e5

Please sign in to comment.