Mercurial > hg > nginx-tests
comparison image_filter_finalize.t @ 1987:a095b971fbcc
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 | 196d33c2bb45 |
children |
comparison
equal
deleted
inserted
replaced
1986:11463d379570 | 1987:a095b971fbcc |
---|---|
140 | 140 |
141 http_get('/slow'); | 141 http_get('/slow'); |
142 http_get('/t3'); | 142 http_get('/t3'); |
143 like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time'); | 143 like(http_get('/time.log'), qr!/t3:.*, [1-9]\.!, 'upstream response time'); |
144 | 144 |
145 # "aio_write" is used to produce the following alert on some platforms: | |
146 # "readv() failed (9: Bad file descriptor) while reading upstream" | |
147 | |
148 $t->todo_alerts() if $t->read_file('nginx.conf') =~ /aio_write on/ | |
149 and $t->read_file('nginx.conf') =~ /aio threads/; | |
150 | |
151 ############################################################################### | 145 ############################################################################### |