Mercurial > hg > nginx-tests
comparison grpc_next_upstream.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 | 4979af9fd905 |
children | 236d038dc04a |
comparison
equal
deleted
inserted
replaced
1380:f50c7d90f5c9 | 1381:97c8280de681 |
---|---|
21 ############################################################################### | 21 ############################################################################### |
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 http_v2 grpc rewrite/); | 26 my $t = Test::Nginx->new()->has(qw/http http_v2 grpc rewrite/)->plan(9); |
27 | 27 |
28 $t->write_file_expand('nginx.conf', <<'EOF'); | 28 $t->write_file_expand('nginx.conf', <<'EOF'); |
29 | 29 |
30 %%TEST_GLOBALS%% | 30 %%TEST_GLOBALS%% |
31 | 31 |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 EOF | 107 EOF |
108 | 108 |
109 $t->try_run('no grpc')->plan(9); | 109 $t->run(); |
110 | 110 |
111 ############################################################################### | 111 ############################################################################### |
112 | 112 |
113 my ($p1, $p2) = (port(8081), port(8082)); | 113 my ($p1, $p2) = (port(8081), port(8082)); |
114 | 114 |