Mercurial > hg > nginx-tests
diff upstream_hash_memcached.t @ 614:0597ca82c26a
Tests: respected byteorder value on longsize=4 but USE_64_BIT_INT.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 30 Jun 2015 12:36:48 +0300 |
parents | c0b4ae82fd9d |
children | e9064d691790 |
line wrap: on
line diff
--- a/upstream_hash_memcached.t +++ b/upstream_hash_memcached.t @@ -141,7 +141,7 @@ is_deeply(ngx('/'), mem($memd), 'cache:: [ '127.0.0.1:8081', '127.0.0.1:8082', '127.0.0.1:8083'] }); TODO: { -local $TODO = 'not yet' unless $Config{byteorder} eq '12345678' +local $TODO = 'not yet' unless $Config{byteorder} =~ '1234' or $t->has_version('1.9.1'); is_deeply(ngx('/c'), mem($memd), 'cache::memcached::fast'); @@ -161,7 +161,7 @@ is_deeply(ngx('/w'), mem($memd), 'cache: { address => '127.0.0.1:8083', weight => 1 }] }); TODO: { -local $TODO = 'not yet' unless $Config{byteorder} eq '12345678' +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');