Mercurial > hg > nginx-tests
changeset 1639:6c323c672a86
Tests: adjusted TODOs for alerts in unbuffered proxying.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 12 Jan 2021 21:07:11 +0300 |
parents | 6128590b0d46 |
children | 67adc5fd0548 |
files | proxy_extra_data.t scgi_extra_data.t |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_extra_data.t Mon Jan 11 21:32:34 2021 +0300 +++ b/proxy_extra_data.t Tue Jan 12 21:07:11 2021 +0300 @@ -142,14 +142,14 @@ } TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.19.7'); like(http_get('/unbuf/zero'), qr/200 OK(?!.*NOT-THIS)/s, 'unbuffered zero size'); } -$t->todo_alerts() if $t->has_version('1.19.1'); +$t->todo_alerts() if $t->has_version('1.19.1') and !$t->has_version('1.19.7'); ###############################################################################
--- a/scgi_extra_data.t Mon Jan 11 21:32:34 2021 +0300 +++ b/scgi_extra_data.t Tue Jan 12 21:07:11 2021 +0300 @@ -145,14 +145,14 @@ } TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.19.7'); like(http_get('/unbuf/zero'), qr/200 OK(?!.*NOT-THIS)/s, 'unbuffered zero size'); } -$t->todo_alerts() if $t->has_version('1.19.1'); +$t->todo_alerts() if $t->has_version('1.19.1') and !$t->has_version('1.19.7'); ###############################################################################