Mercurial > hg > nginx-tests
diff grpc_pass.t @ 1900:236d038dc04a
Tests: suppress "listen .. http2;" deprecation warnings.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 31 May 2023 13:29:34 +0400 |
parents | 58951cf933e1 |
children |
line wrap: on
line diff
--- a/grpc_pass.t +++ b/grpc_pass.t @@ -97,7 +97,12 @@ foreach my $name ('localhost') { } $t->run_daemon(\&dns_daemon, port(8982), $t); + +# suppress deprecation warning + +open OLDERR, ">&", \*STDERR; close STDERR; $t->run()->plan(5); +open STDERR, ">&", \*OLDERR; $t->waitforfile($t->testdir . '/' . port(8982));