File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ qr/\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])
174
174
local begin = ngx.now()
175
175
local function f()
176
176
print("my lua timer handler")
177
- ngx.sleep(0.02 )
177
+ ngx.sleep(0.2 )
178
178
print("elapsed: ", ngx.now() - begin)
179
179
end
180
180
local ok, err = ngx.timer.at(0.05, f)
@@ -199,7 +199,7 @@ delete thread 2
199
199
-- - response_body
200
200
registered timer
201
201
202
- -- - wait : 0.12
202
+ -- - wait : 0.3
203
203
-- - no_error_log
204
204
[error]
205
205
[alert]
@@ -208,7 +208,7 @@ registered timer
208
208
-- - error_log eval
209
209
[
210
210
qr/ \[lua\] .*? my lua timer handler/ ,
211
- qr/ \[lua\] content_by_lua\(nginx\. conf: \d+ \): \d+: elapsed: 0 \. 0 (?: 6 [4 -9]| 7 [0 -6])/ ,
211
+ qr/ \[lua\] content_by_lua\(nginx\. conf: \d+ \): \d+: elapsed: 0 \. (?: 1 [4 -9]| 2 [0 -6]? )/ ,
212
212
" lua ngx.timer expired" ,
213
213
" http lua close fake http connection"
214
214
]
You can’t perform that action at this time.
0 commit comments