Skip to content

Commit

Permalink
reindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Oct 15, 2024
1 parent d8f697f commit 21f144b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions t/plugin/consumer-bug-fix.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ no_root_location();
run_tests;

__DATA__
=== TEST 1: add consumer jack1
--- config
location /t {
Expand Down Expand Up @@ -51,6 +52,9 @@ __DATA__
GET /t
--- response_body
passed
=== TEST 2: add route
--- config
location /t {
Expand Down Expand Up @@ -81,13 +85,19 @@ passed
GET /t
--- response_body
passed
=== TEST 3: verify 20 times
--- pipelined_requests eval
["GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello"]
--- more_headers
apikey: auth-one
--- response_body eval
["before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change","before change"]
=== TEST 4: modify consumer
--- config
location /t {
Expand Down Expand Up @@ -115,6 +125,9 @@ apikey: auth-one
GET /t
--- response_body
passed
=== TEST 5: verify 20 times
--- pipelined_requests eval
["GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello","GET /hello", "GET /hello", "GET /hello", "GET /hello"]
Expand Down

0 comments on commit 21f144b

Please sign in to comment.