Skip to content

Commit 379635b

Browse files
committed
ci fix
1 parent ff01f40 commit 379635b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/164-proxy-ssl-verify-by.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ proxy_ssl_verify_by_lua: cert verify callback aborted
908908
=== TEST 23: cosocket
909909
--- stream_config
910910
server {
911-
listen *:80;
911+
listen 127.0.0.1:$TEST_NGINX_RAND_PORT_1;
912912
913913
return "it works!\n";
914914
}
@@ -936,7 +936,7 @@ proxy_ssl_verify_by_lua: cert verify callback aborted
936936
local sock = ngx.socket.tcp()
937937
sock:settimeout(2000)
938938
939-
local ok, err = sock:connect("127.0.0.1", "80")
939+
local ok, err = sock:connect("127.0.0.1", $TEST_NGINX_RAND_PORT_1)
940940
if not ok then
941941
ngx.log(ngx.ERR, "failed to connect: ", err)
942942
return

0 commit comments

Comments
 (0)