File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ check_ports:
152
152
# ##############################################################################
153
153
154
154
releng :
155
- @util/lua-releng -eLs
155
+ @util/lua-releng -eL
156
156
157
157
flush_db :
158
158
@$(REDIS_CLI ) flushall
Original file line number Diff line number Diff line change 99
99
lua_package_path "./lib/?.lua;../lua-resty-redis-connector/lib/?.lua;../lua-resty-qless/lib/?.lua;../lua-resty-http/lib/?.lua;../lua-ffi-zlib/lib/?.lua;;";
100
100
101
101
init_by_lua_block {
102
- if $ ENV {TEST_COVERAGE} == 1 then
102
+ if $ LedgeEnv ::test_coverage == 1 then
103
103
require (" luacov.runner" ). init()
104
104
end
105
105
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ GET /ledge_2
50
50
qq {
51
51
lua_package_path "./lib/?.lua;../lua-resty-redis-connector/lib/?.lua;../lua-resty-qless/lib/?.lua;;";
52
52
init_by_lua_block {
53
- if $ ENV {TEST_COVERAGE} == 1 then
53
+ if $ LedgeEnv ::test_coverage == 1 then
54
54
require (" luacov.runner" ). init()
55
55
end
56
56
local ok , err = pcall(require (" ledge" ). configure, { foo = " bar" })
114
114
lua_package_path "./lib/?.lua;../lua-resty-redis-connector/lib/?.lua;../lua-resty-qless/lib/?.lua;;";
115
115
116
116
init_by_lua_block {
117
- if $ ENV {TEST_COVERAGE} == 1 then
117
+ if $ LedgeEnv ::test_coverage == 1 then
118
118
require (" luacov.runner" ). init()
119
119
end
120
120
require (" ledge" ). configure({
164
164
lua_package_path "./lib/?.lua;../lua-resty-redis-connector/lib/?.lua;../lua-resty-qless/lib/?.lua;;";
165
165
166
166
init_by_lua_block {
167
- if $ ENV {TEST_COVERAGE} == 1 then
167
+ if $ LedgeEnv ::test_coverage == 1 then
168
168
require (" luacov.runner" ). init()
169
169
end
170
170
require (" ledge" ). set_handler_defaults({
224
224
lua_package_path "./lib/?.lua;../lua-resty-redis-connector/lib/?.lua;../lua-resty-qless/lib/?.lua;;";
225
225
226
226
init_by_lua_block {
227
- if $ ENV {TEST_COVERAGE} == 1 then
227
+ if $ LedgeEnv ::test_coverage == 1 then
228
228
require (" luacov.runner" ). init()
229
229
end
230
230
require (" ledge" ). configure({
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ GET /worker_2
49
49
qq {
50
50
lua_package_path "./lib/?.lua;;";
51
51
init_by_lua_block {
52
- if $ENV{TEST_COVERAGE} == 1 then
52
+ if $ LedgeEnv ::test_coverage == 1 then
53
53
require (" luacov.runner" ). init()
54
54
end
55
55
}
@@ -74,7 +74,7 @@ field foo does not exist
74
74
qq {
75
75
lua_package_path "./lib/?.lua;;";
76
76
init_by_lua_block {
77
- if $ENV{TEST_COVERAGE} == 1 then
77
+ if $ LedgeEnv ::test_coverage == 1 then
78
78
require (" luacov.runner" ). init()
79
79
end
80
80
}
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ location /purge_cached_8 {
401
401
}
402
402
-- - request
403
403
PURGE / purge_cached_8*
404
- -- - wait : 1
404
+ -- - wait : 2
405
405
-- - no_error_log
406
406
[error]
407
407
-- - response_body_like
You can’t perform that action at this time.
0 commit comments