Mercurial > hg > nginx-tests
comparison grpc.t @ 1381:97c8280de681
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 08 Oct 2018 15:30:39 +0300 |
parents | 23e407a72fe9 |
children | 2c0955286894 |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
22 | 22 |
23 select STDERR; $| = 1; | 23 select STDERR; $| = 1; |
24 select STDOUT; $| = 1; | 24 select STDOUT; $| = 1; |
25 | 25 |
26 my $t = Test::Nginx->new()->has(qw/http rewrite http_v2 grpc/) | 26 my $t = Test::Nginx->new()->has(qw/http rewrite http_v2 grpc/) |
27 ->has(qw/upstream_keepalive/); | 27 ->has(qw/upstream_keepalive/)->plan(105); |
28 | 28 |
29 $t->write_file_expand('nginx.conf', <<'EOF'); | 29 $t->write_file_expand('nginx.conf', <<'EOF'); |
30 | 30 |
31 %%TEST_GLOBALS%% | 31 %%TEST_GLOBALS%% |
32 | 32 |
89 } | 89 } |
90 } | 90 } |
91 | 91 |
92 EOF | 92 EOF |
93 | 93 |
94 $t->try_run('no grpc')->plan(105); | 94 $t->run(); |
95 | 95 |
96 ############################################################################### | 96 ############################################################################### |
97 | 97 |
98 my $p = port(8081); | 98 my $p = port(8081); |
99 my $f = grpc(); | 99 my $f = grpc(); |