comparison worker_shutdown_timeout_h2.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 5ac6efbe5552
children
comparison
equal deleted inserted replaced
1899:a0ee073760c5 1900:236d038dc04a
49 } 49 }
50 } 50 }
51 EOF 51 EOF
52 52
53 $t->run_daemon(\&http_silent_daemon); 53 $t->run_daemon(\&http_silent_daemon);
54 $t->run()->waitforsocket('127.0.0.1:' . port(8081)); 54
55 # suppress deprecation warning
56
57 open OLDERR, ">&", \*STDERR; close STDERR;
58 $t->run();
59 open STDERR, ">&", \*OLDERR;
60
61 $t->waitforsocket('127.0.0.1:' . port(8081));
55 62
56 ############################################################################### 63 ###############################################################################
57 64
58 my $s = Test::Nginx::HTTP2->new(); 65 my $s = Test::Nginx::HTTP2->new();
59 ok($s->new_stream(), 'new stream'); 66 ok($s->new_stream(), 'new stream');