Skip to content

Commit 25e9ac8

Browse files
author
Johnny Wang
authored
tests: updated the regular expression to avoid matching other content in HUP reload mode.
1 parent aed8afb commit 25e9ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/balancer-keepalive-localaddr.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ add_block_preprocessor(sub {
7878
}
7979

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

8484
if (!defined $block->no_error_log) {

0 commit comments

Comments
 (0)