Skip to content

Commit a90c803

Browse files
committed
test
1 parent cdc6025 commit a90c803

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/058-tcp-socket.t

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ our $HtmlDir = html_dir;
1010

1111
$ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211;
1212
$ENV{TEST_NGINX_RESOLVER} ||= '8.8.8.8';
13-
$ENV{TEST_NGINX_HTML_DIR} ||= html_dir();
1413

1514
#log_level 'warn';
1615
log_level 'debug';
@@ -4504,7 +4503,7 @@ reused times: 3, setkeepalive err: closed
45044503
=== TEST 74: setkeepalive with TLSv1.3
45054504
--- skip_openssl: 3: < 1.1.1
45064505
--- stream_server_config
4507-
listen unix:$TEST_NGINX_HTML_DIR/nginx.sock ssl;
4506+
listen 11443 ssl;
45084507
ssl_certificate ../../cert/test.crt;
45094508
ssl_certificate_key ../../cert/test.key;
45104509
ssl_protocols TLSv1.3;
@@ -4524,7 +4523,7 @@ reused times: 3, setkeepalive err: closed
45244523
local sock = ngx.socket.tcp()
45254524
sock:settimeout(2000)
45264525
4527-
local ok, err = sock:connect("unix:$TEST_NGINX_HTML_DIR/nginx.sock")
4526+
local ok, err = sock:connect("127.0.0.1", 11443)
45284527
if not ok then
45294528
ngx.say("failed to connect: ", err)
45304529
return

0 commit comments

Comments
 (0)