| 1 | use strict; |
| 2 | use warnings; |
| 3 | use Test::More; |
| 4 | use lib 't/lib/'; |
| 5 | use t::Internal; |
| 6 | |
| 7 | my $client = t::Internal->new(path => 't/fcgi/timeout.fcgi'); |
| 8 | eval { |
| 9 | my ( $stdout, $stderr ) = $client->request( |
| 10 | +{ |
| 11 | REQUEST_METHOD => 'GET', |
| 12 | QUERY_STRING => 'foo=bar', |
| 13 | }, |
| 14 | '' |
| 15 | ); |
| 16 | }; |
| 17 | like $@ => qr/REQUEST_TIME_OUT/; |
| 18 | |
| 19 | done_testing; |