changeset 483:cebd7b8ca5b8

Tests: adjusted proxy_next_upstream_tries TODOs.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 28 Oct 2014 16:37:25 +0300
parents 6d35acdf9a61
children 34a6e880123b
files proxy_next_upstream_tries.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/proxy_next_upstream_tries.t
+++ b/proxy_next_upstream_tries.t
@@ -128,7 +128,7 @@ like(http_get('/tries'), qr/x404, 404x/,
 like(http_get('/tries/backup'), qr/x404, 404x/, 'tries backup');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.7.7');
 
 like(http_get('/tries/resolver'), qr/x404, 404x/, 'tries resolved');
 
@@ -140,7 +140,7 @@ like(http_get('/timeout'), qr/x404, 404x
 like(http_get('/timeout/backup'), qr/x404, 404x/, 'timeout backup');
 
 TODO: {
-local $TODO = 'not yet';
+local $TODO = 'not yet' unless $t->has_version('1.7.7');
 
 like(http_get('/timeout/resolver'), qr/x404, 404x/, 'timeout resolved');