comparison proxy_non_idempotent.t @ 1381:97c8280de681

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 08 Oct 2018 15:30:39 +0300
parents d51cc2526066
children
comparison
equal deleted inserted replaced
1380:f50c7d90f5c9 1381:97c8280de681
104 104
105 # non-idempotent requests should not be retried by default, 105 # non-idempotent requests should not be retried by default,
106 # in particular, not emit builtin error page due to next upstream 106 # in particular, not emit builtin error page due to next upstream
107 107
108 like(http_get('/404'), qr/X-IP: (\S+), \1.*SEE-THIS/s, 'get 404'); 108 like(http_get('/404'), qr/X-IP: (\S+), \1.*SEE-THIS/s, 'get 404');
109
110 TODO: {
111 local $TODO = 'not yet' unless $t->has_version('1.13.11');
112
113 like(http_post('/404'), qr/X-IP: (\S++)(?! ).*SEE-THIS/s, 'post 404'); 109 like(http_post('/404'), qr/X-IP: (\S++)(?! ).*SEE-THIS/s, 'post 404');
114
115 }
116 110
117 # with "proxy_next_upstream non_idempotent" there is no 111 # with "proxy_next_upstream non_idempotent" there is no
118 # difference between idempotent and non-idempotent requests, 112 # difference between idempotent and non-idempotent requests,
119 # non-idempotent requests are retried as usual 113 # non-idempotent requests are retried as usual
120 114