comparison upstream_keepalive.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 992044531283
children e57bb4224131
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 upstream_keepalive/) 25 my $t = Test::Nginx->new()->has(qw/http proxy upstream_keepalive/)->plan(7)
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;
65 } 65 }
66 66
67 EOF 67 EOF
68 68
69 $t->write_file('index.html', 'SEE-THIS'); 69 $t->write_file('index.html', 'SEE-THIS');
70 $t->try_run('no keepalive_requests')->plan(7); 70 $t->run();
71 71
72 ############################################################################### 72 ###############################################################################
73 73
74 my ($r, $n); 74 my ($r, $n);
75 75