diff 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
line wrap: on
line diff
--- a/proxy_cache_bypass.t
+++ b/proxy_cache_bypass.t
@@ -95,7 +95,7 @@ like(http_get('/t2'), qr/403 Forbidden/,
 like(http_get('/t2?bypass=1'), qr/NOOP/, 'error cache bypassed');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.11.0');
 
 like(http_get('/t2'), qr/NOOP/, 'error cached after bypass');