Skip to content

Commit

Permalink
tests: t/balancer.t: use RegExp instead of strict character match.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaocang authored and zhuizhuhaomeng committed Nov 14, 2021
1 parent 094ae63 commit cf1aa0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/balancer.t
Expand Up @@ -830,8 +830,8 @@ hello from balancer by lua!
GET /t
--- response_body_like: 502 Bad Gateway
--- error_code: 502
--- error_log
[lua] log_by_lua(nginx.conf:59):2: ngx.var.upstream_addr is 127.0.0.3:12345, 127.0.0.3:12346
--- error_log eval
qr/log_by_lua\(nginx.conf:\d+\):\d+: ngx.var.upstream_addr is 127.0.0.3:12345, 127.0.0.3:12346/
--- no_error_log
[alert]

Expand Down

0 comments on commit cf1aa0c

Please sign in to comment.