Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oowl committed Dec 18, 2024
1 parent 835b1d2 commit 8e03683
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/013-upstream.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ log_level('info');
repeat_each(2);
#repeat_each(1);

plan tests => repeat_each() * (blocks() * 2) + 8;
plan tests => repeat_each() * (blocks() * 2);

#no_diff();
#no_long_string();
Expand Down Expand Up @@ -159,8 +159,8 @@ __DATA__
}
--- pipelined_requests eval
["GET /balancer", "GET /balancer"]
--- response_body eval
["this is backend peer \$TEST_NGINX_RAND_PORT_4", "this is backend peer \$TEST_NGINX_RAND_PORT_4"]
--- error_code eval
[200, 200]

=== TEST 3: lua resty.kong.upstream.set_next_upstream()
--- http_config
Expand Down Expand Up @@ -239,8 +239,8 @@ __DATA__
}
--- pipelined_requests eval
["GET /balancer", "GET /balancer"]
--- response_body eval
["this is backend peer \$TEST_NGINX_RAND_PORT_4", "this is backend peer \$TEST_NGINX_RAND_PORT_4"]
--- error_code eval
[200, 200]
=== TEST 4: lua resty.kong.upstream.set_next_upstream() with error
--- http_config
Expand Down

0 comments on commit 8e03683

Please sign in to comment.