diff --git a/t/HTTP-Server-PSGI/listen.t b/t/HTTP-Server-PSGI/listen.t index 41383bff9..df6e6a281 100644 --- a/t/HTTP-Server-PSGI/listen.t +++ b/t/HTTP-Server-PSGI/listen.t @@ -29,6 +29,7 @@ test_tcp( client => sub { my $port = shift; my $ua = LWP::UserAgent->new; + $ua->timeout($ua_timeout); my $res = $ua->get("http://127.0.0.1:$port/"); ok $res->is_success; is $res->code, 200;