Skip to content

Commit 7087978

Browse files
committed
fixed SSL cosocket tests with google https in non-US regions.
1 parent b8fc6c5 commit 7087978

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

t/129-ssl-socket.t

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ __DATA__
102102

103103
--- request
104104
GET /t
105-
--- response_body
106-
connected: 1
105+
--- response_body_like chop
106+
\Aconnected: 1
107107
ssl handshake: userdata
108108
sent http request: 59 bytes.
109-
received: HTTP/1.1 200 OK
109+
received: HTTP/1.1 (?:200 OK|302 Found)
110110
close: 1 nil
111-
111+
\z
112112
--- grep_error_log eval: qr/lua ssl (?:set|save|free) session: [0-9A-F]+:\d+/
113113
--- grep_error_log_out eval
114114
qr/^lua ssl save session: ([0-9A-F]+):2
@@ -920,13 +920,13 @@ $::EquifaxRootCertificate"
920920

921921
--- request
922922
GET /t
923-
--- response_body
924-
connected: 1
923+
--- response_body_like chop
924+
\Aconnected: 1
925925
ssl handshake: userdata
926926
sent http request: 59 bytes.
927-
received: HTTP/1.1 200 OK
927+
received: HTTP/1.1 (?:200 OK|302 Found)
928928
close: 1 nil
929-
929+
\z
930930
--- grep_error_log eval: qr/lua ssl (?:set|save|free) session: [0-9A-F]+:\d+/
931931
--- grep_error_log_out eval
932932
qr/^lua ssl save session: ([0-9A-F]+):2

0 commit comments

Comments
 (0)