comparison proxy_cache_bypass.t @ 931:bf86f9ad0c23

Tests: proxy_cache_bypass TODO adjusted.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 20 May 2016 22:50:37 +0300
parents 15abee29016e
children e9064d691790
comparison
equal deleted inserted replaced
930:183a6b1f3fa5 931:bf86f9ad0c23
93 93
94 like(http_get('/t2'), qr/403 Forbidden/, 'error cached'); 94 like(http_get('/t2'), qr/403 Forbidden/, 'error cached');
95 like(http_get('/t2?bypass=1'), qr/NOOP/, 'error cache bypassed'); 95 like(http_get('/t2?bypass=1'), qr/NOOP/, 'error cache bypassed');
96 96
97 TODO: { 97 TODO: {
98 local $TODO = 'not yet'; 98 local $TODO = 'not yet' unless $t->has_version('1.11.0');
99 99
100 like(http_get('/t2'), qr/NOOP/, 'error cached after bypass'); 100 like(http_get('/t2'), qr/NOOP/, 'error cached after bypass');
101 101
102 } 102 }
103 103