Permalink
Browse files

Add a sensible timeout

  • Loading branch information...
1 parent c0bbf13 commit 716c91f29990df3f1ec4967801e72068883de73a @miyagawa committed Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/findbin.t
View
@@ -10,7 +10,7 @@ my $s = Test::TCP->new(
},
);
-my $ua = LWP::UserAgent->new;
+my $ua = LWP::UserAgent->new(timeout => 3);
for (1..2) {
my $res = $ua->get("http://localhost:" . $s->port);

0 comments on commit 716c91f

Please sign in to comment.