Mercurial > hg > nginx-tests
diff upstream_hash.t @ 1693:5ac6efbe5552
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 01 Jun 2021 16:40:18 +0300 |
parents | 06fbf6269f38 |
children |
line wrap: on
line diff
--- a/upstream_hash.t +++ b/upstream_hash.t @@ -180,14 +180,9 @@ like(many('/c?a=1', 10), qr/($p1|$p2|$p3 # fallback to round-robin -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.17.1'); - like(many('/?a=', 6), qr/$p1: 2, $p2: 2, $p3: 2/, 'empty key'); like(many('/c?a=', 6), qr/$p1: 2, $p2: 2, $p3: 2/, 'empty key - consistent'); -} - my @res = iter('/', 10); is(@res, 10, 'all hashed peers');