Mercurial > hg > nginx-tests
diff upstream_hash_memcached.t @ 1020:196d33c2bb45
Tests: removed TODO and try_run() checks for legacy versions.
Also removed now unused spdy.t and shmem prerequisite.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Wed, 31 Aug 2016 18:21:07 +0300 |
parents | 882267679006 |
children | 673c3e12214e |
line wrap: on
line diff
--- a/upstream_hash_memcached.t +++ b/upstream_hash_memcached.t @@ -144,14 +144,8 @@ is_deeply(ngx('/'), mem($memd), 'cache:: '127.0.0.1:' . port(8082), '127.0.0.1:' . port(8083)] }); -TODO: { -local $TODO = 'not yet' unless $Config{byteorder} =~ '1234' - or $t->has_version('1.9.1'); - is_deeply(ngx('/c'), mem($memd), 'cache::memcached::fast'); -} - $memd = new Cache::Memcached(servers => [ [ '127.0.0.1:' . port(8081), 2 ], [ '127.0.0.1:' . port(8082), 3 ], @@ -164,14 +158,8 @@ is_deeply(ngx('/w'), mem($memd), 'cache: { address => '127.0.0.1:' . port(8082), weight => 3 }, { address => '127.0.0.1:' . port(8083), weight => 1 }] }); -TODO: { -local $TODO = 'not yet' unless $Config{byteorder} =~ '1234' - or $t->has_version('1.9.1'); - is_deeply(ngx('/cw'), mem($memd), 'cache::memcached::fast weight'); -} - ############################################################################### sub ngx {