File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ __DATA__
6464 local redis = require "resty.redis"
6565 local red = redis:new()
6666
67- red:set_timeout(100 )
67+ red:set_timeout(1000 )
6868
6969 local ok, err = red:connect("unix:$TEST_NGINX_HTML_DIR/nginx.sock", {
7070 ssl = true
@@ -201,7 +201,7 @@ dog: an animal
201201 local redis = require "resty.redis"
202202 local red = redis:new()
203203
204- red:set_timeout(100 )
204+ red:set_timeout(1000 )
205205
206206 local ok, err = red:connect("unix:$TEST_NGINX_HTML_DIR/nginx-ssl.sock", {
207207 ssl = true,
@@ -213,8 +213,8 @@ dog: an animal
213213 end
214214 }
215215 }
216- --- response_body
217- failed to connect: failed to do ssl handshake: 18: self signed certificate
216+ --- response_body_like eval
217+ qr/ failed to connect: failed to do ssl handshake: 18: self[- ] signed certificate/
218218
219219
220220
@@ -228,7 +228,7 @@ failed to connect: failed to do ssl handshake: 18: self signed certificate
228228 local redis = require "resty.redis"
229229 local red = redis:new()
230230
231- red:set_timeout(100 )
231+ red:set_timeout(1000 )
232232
233233 local ok, err = red:connect("unix:$TEST_NGINX_HTML_DIR/nginx-ssl.sock", {
234234 ssl = true,
277277 local redis = require "resty.redis"
278278 local red = redis:new()
279279
280- red:set_timeout(100 )
280+ red:set_timeout(1000 )
281281
282282 local ok, err = red:connect("unix:$TEST_NGINX_HTML_DIR/nginx-ssl.sock",nil)
283283 if not ok then
You can’t perform that action at this time.
0 commit comments