Skip to content

Commit

Permalink
fix stupid assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Jun 8, 2024
1 parent 94efd2c commit f61e782
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions t/core/etcd-mtls.t
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,8 @@ deployment:
}
--- request
GET /t
--- grep_error_log eval
qr/init_by_lua:\d+: \S+/
--- grep_error_log_out
init_by_lua:12: ab
init_by_lua:19: 200
init_by_lua:26: 404
--- error_log eval
qr/init_by_lua:\d+: ab/ and qr/init_by_lua:\d+: 200/ and qr/init_by_lua:\d+: 404/
Expand Down Expand Up @@ -136,12 +132,8 @@ deployment:
ngx.say("ok")
}
--- stream_enable
--- grep_error_log eval
qr/init_by_lua:\d+: \S+/
--- grep_error_log_out
init_by_lua:12: ab
init_by_lua:19: 200
init_by_lua:26: 404
--- error_log eval
qr/init_by_lua:\d+: ab/ and qr/init_by_lua:\d+: 200/ and qr/init_by_lua:\d+: 404/
Expand Down Expand Up @@ -286,5 +278,5 @@ deployment:
}
--- request
GET /t
--- error_log
init_by_lua:11: ab
--- error_log eval
qr/init_by_lua:\d+: ab/

0 comments on commit f61e782

Please sign in to comment.