Mercurial > hg > nginx-tests
changeset 414:068d020a8f85
Tests: unbreak on older versions without upstream hash module.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 20 Jun 2014 18:30:11 +0400 |
parents | f620d9529ed6 |
children | 020c4e47ecac |
files | upstream_hash_memcached.t |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/upstream_hash_memcached.t Fri Jun 20 18:07:29 2014 +0400 +++ b/upstream_hash_memcached.t Fri Jun 20 18:30:11 2014 +0400 @@ -104,10 +104,11 @@ push @memopts, '-U', '0'; } +$t->try_run('no upstream hash')->plan(4); + $t->run_daemon('memcached', '-l', '127.0.0.1', '-p', '8081', @memopts); $t->run_daemon('memcached', '-l', '127.0.0.1', '-p', '8082', @memopts); $t->run_daemon('memcached', '-l', '127.0.0.1', '-p', '8083', @memopts); -$t->try_run('no upstream hash')->plan(4); $t->waitforsocket('127.0.0.1:8081') or die "Can't start memcached"; $t->waitforsocket('127.0.0.1:8082') or die "Can't start memcached";