changeset 473:9a6e0ede4b92

Tests: adjusted proxy cache revalidate TODO. Before fd283aa92e04, the If-Modified-Since header with Epoch was sent for responses cached without the Last-Modified header. This caused to apply the requested method even with the matching If-None-Match conditional.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 16 Oct 2014 11:42:40 +0400
parents c8e790dcbe19
children b86c05516e65
files proxy_cache_revalidate.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_cache_revalidate.t
+++ b/proxy_cache_revalidate.t
@@ -115,7 +115,7 @@ like(http_get('/t2'), qr/X-Cache-Status:
 # 2nd document is recreated
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.7.7');
 
 like(http_get('/etag/t'), qr/X-Cache-Status: REVALIDATED.*SEE/ms,
 	'etag revalidated');