Skip to content

Commit

Permalink
fix: stream test
Browse files Browse the repository at this point in the history
  • Loading branch information
ytlm committed Jul 1, 2024
1 parent 5f66a1f commit 5fda34d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/stream/upstream-balancer-set-proxy-bind.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ __DATA__
lua_package_path "$TEST_NGINX_LUA_PACKAGE_PATH";

upstream backend {
server 0.0.0.1 down;
server 0.0.0.1:1234 down;
balancer_by_lua_block {
local b = require "ngx.balancer"
assert(b.set_current_peer("127.0.0.1", 12345))
Expand Down Expand Up @@ -52,7 +52,7 @@ qr/127.0.0.1/,
lua_package_path "$TEST_NGINX_LUA_PACKAGE_PATH";

upstream backend {
server 0.0.0.1 down;
server 0.0.0.1:1234 down;
balancer_by_lua_block {
local b = require "ngx.balancer"
assert(b.set_current_peer("127.0.0.1", 12345))
Expand Down Expand Up @@ -88,7 +88,7 @@ qr/127.0.0.4/,
lua_package_path "$TEST_NGINX_LUA_PACKAGE_PATH";

upstream backend {
server 0.0.0.1 down;
server 0.0.0.1:1234 down;
balancer_by_lua_block {
local b = require "ngx.balancer"
assert(b.set_current_peer("127.0.0.1", 12345))
Expand Down

0 comments on commit 5fda34d

Please sign in to comment.