comparison proxy_cache_vary.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 ce4419d32383
children d329b05e20fa
comparison
equal deleted inserted replaced
1986:11463d379570 1987:a095b971fbcc
264 264
265 # Multiple Vary headers (ticket #1423). 265 # Multiple Vary headers (ticket #1423).
266 266
267 like(get('/multi', 'foo'), qr/MISS/ms, 'multi first'); 267 like(get('/multi', 'foo'), qr/MISS/ms, 'multi first');
268 like(get('/multi', 'foo'), qr/HIT/ms, 'multi second'); 268 like(get('/multi', 'foo'), qr/HIT/ms, 'multi second');
269
270 TODO: {
271 local $TODO = 'not yet' unless $t->has_version('1.23.0');
272
273 like(get('/multi', 'bar'), qr/MISS/ms, 'multi other'); 269 like(get('/multi', 'bar'), qr/MISS/ms, 'multi other');
274
275 }
276 270
277 # keep c->body_start when Vary changes (ticket #2029) 271 # keep c->body_start when Vary changes (ticket #2029)
278 272
279 # before 1.19.3, this prevented updating c->body_start of a main key 273 # before 1.19.3, this prevented updating c->body_start of a main key
280 # triggering "cache file .. has too long header" critical errors 274 # triggering "cache file .. has too long header" critical errors