Mercurial > hg > nginx-tests
diff stream_upstream.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | a073a545413d |
children | 875967f737d4 |
line wrap: on
line diff
--- a/stream_upstream.t +++ b/stream_upstream.t @@ -89,7 +89,7 @@ EOF $t->run_daemon(\&stream_daemon, port(8084)); $t->run_daemon(\&stream_daemon, port(8085)); -$t->try_run('no stream access_log')->plan(6); +$t->run()->plan(6); $t->waitforsocket('127.0.0.1:' . port(8084)); $t->waitforsocket('127.0.0.1:' . port(8085)); @@ -106,14 +106,9 @@ is(many(30, port(8083)), "$port4: 30", ' $t->run_daemon(\&stream_daemon, port(8086)); $t->waitforsocket('127.0.0.1:' . port(8086)); -TODO: { -local $TODO = 'not yet' unless $t->has_version('1.11.8'); - sleep 2; # wait till fail_timeout passes is(parallel(30, port(8083)), "$port6: 30", 'recovery'); -} - $t->stop(); like($t->read_file('u.log'), qr/127.0.0.1:$port6, 127.0.0.1:$port4!0, 1!0, 4/,