comparison proxy_variables.t @ 1535:144c6ce732e4

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 02 Dec 2019 14:56:37 +0300
parents 16a8962ff246
children
comparison
equal deleted inserted replaced
1534:96fb3513345b 1535:144c6ce732e4
20 ############################################################################### 20 ###############################################################################
21 21
22 select STDERR; $| = 1; 22 select STDERR; $| = 1;
23 select STDOUT; $| = 1; 23 select STDOUT; $| = 1;
24 24
25 my $t = Test::Nginx->new()->has(qw/http proxy/) 25 my $t = Test::Nginx->new()->has(qw/http proxy/)->plan(4)
26 ->write_file_expand('nginx.conf', <<'EOF'); 26 ->write_file_expand('nginx.conf', <<'EOF');
27 27
28 %%TEST_GLOBALS%% 28 %%TEST_GLOBALS%%
29 29
30 daemon off; 30 daemon off;
50 } 50 }
51 51
52 EOF 52 EOF
53 53
54 $t->run_daemon(\&http_daemon, port(8081)); 54 $t->run_daemon(\&http_daemon, port(8081));
55 $t->try_run('upstream_bytes_sent')->plan(4); 55 $t->run();
56 56
57 $t->waitforsocket('127.0.0.1:' . port(8081)); 57 $t->waitforsocket('127.0.0.1:' . port(8081));
58 58
59 ############################################################################### 59 ###############################################################################
60 60