Skip to content

Commit

Permalink
tests: updated the regular expression to avoid matching other content…
Browse files Browse the repository at this point in the history
… in HUP reload mode.
  • Loading branch information
jiahao committed Jul 29, 2024
1 parent f068a85 commit a38761f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/balancer-keepalive-localaddr.t
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ add_block_preprocessor(sub {
}

if (!defined $block->grep_error_log) {
$block->set_value("grep_error_log", qr/lua balancer: keepalive .*/);
$block->set_value("grep_error_log", qr/lua balancer: keepalive (?!closing).*/);
}

if (!defined $block->no_error_log) {
Expand Down

0 comments on commit a38761f

Please sign in to comment.