From b6163e5f4586f9ffa44c2e406da257fea42b0e62 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Tue, 21 Jul 2015 12:17:27 -0700 Subject: [PATCH] fix(tests) enable error traces and fix config test Former-commit-id: 5b9d50ecb7c0f7c7a4a0718c7fc99711067e1fef --- Makefile | 5 ++++- spec/unit/statics_spec.lua | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f05945d8561a..2921e04c24b8 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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/ diff --git a/spec/unit/statics_spec.lua b/spec/unit/statics_spec.lua index e5fd9b122e6f..44a194d1cd4f 100644 --- a/spec/unit/statics_spec.lua +++ b/spec/unit/statics_spec.lua @@ -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"