Mercurial > hg > nginx-tests
diff proxy_cache_use_stale.t @ 1987:a095b971fbcc default tip
Tests: removed TODO and try_run() checks for legacy versions.
For h2_http2.t, try_run() is preserved to ensure that deprecation
warnings for "listen ... http2" are suppressed, yet plan() is reported
before try_run(), so failure to start will be properly reported.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Jun 2024 18:38:01 +0300 |
parents | e3dd111410fe |
children |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -247,11 +247,6 @@ like($r, qr/STALE.*^(SEE-THIS){1024}$/ms $r = read_all(http_get('/ssi.html', start => 1)); like($r, qr/^xxx (SEE-THIS){1024} xxx$/ms, 's-w-r - not blocked in subrequest'); -# "aio_write" is used to produce "open socket ... left in connection" alerts. - -$t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/ - and $t->read_file('nginx.conf') =~ /aio threads/ and $^O eq 'freebsd'; - # due to the missing content_handler inheritance in a cloned subrequest, # this used to access a static file in the update request