Skip to content

Commit

Permalink
using reg tp match response body
Browse files Browse the repository at this point in the history
  • Loading branch information
qizhendong committed Feb 11, 2022
1 parent 22c3fb0 commit d8ef45b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions t/plugin/clickhouse-logger.t
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ run_tests();
__DATA__
=== TEST 1: Full configuration verification
--- yaml_config
--- config
location /t {
content_by_lua_block {
Expand Down Expand Up @@ -87,7 +86,6 @@ passed
=== TEST 2: Basic configuration verification
--- yaml_config
--- config
location /t {
content_by_lua_block {
Expand All @@ -112,7 +110,6 @@ passed
=== TEST 3: auth configure undefined
--- yaml_config
--- config
location /t {
content_by_lua_block {
Expand All @@ -136,7 +133,6 @@ property "endpoint_addr" is required
=== TEST 4: add plugin on routes
--- yaml_config
apisix:
node_listen: 1984
admin_key: null
Expand Down Expand Up @@ -215,6 +211,6 @@ passed
GET /opentracing
--- response_body
opentracing
--- grep_error_log_out
clickhouse body:
--- grep_error_log eval
qr/clickhouse body: INSERT INTO t FORMAT JSONEachRow\S+/
--- wait: 5

0 comments on commit d8ef45b

Please sign in to comment.