Skip to content

Commit 89175c4

Browse files
committed
Tests: adjusted TODO alerts after aio fixes.
1 parent 9534617 commit 89175c4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

image_filter_finalize.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time');
146146
# "readv() failed (9: Bad file descriptor) while reading upstream"
147147

148148
$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/
149-
and $t->read_file('nginx.conf') =~ /aio threads/;
149+
and $t->read_file('nginx.conf') =~ /aio threads/
150+
and !$t->has_version('1.25.4');
150151

151152
###############################################################################

proxy_cache_use_stale.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ like($r, qr/^xxx (SEE-THIS){1024} xxx$/ms, 's-w-r - not blocked in subrequest');
250250
# "aio_write" is used to produce "open socket ... left in connection" alerts.
251251

252252
$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/
253-
and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'freebsd';
253+
and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'freebsd'
254+
and !$t->has_version('1.25.4');
254255

255256
# due to the missing content_handler inheritance in a cloned subrequest,
256257
# this used to access a static file in the update request

0 commit comments

Comments
 (0)