Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

made online test a little more reliable

  • Loading branch information...
commit d328b04f6465247f82ae0c66e600cab3b2970b0d 1 parent b6b51d3
@kraih authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  t/mojo/user_agent_online.t
View
3  t/mojo/user_agent_online.t
@@ -41,7 +41,8 @@ $ua->get(
);
$loop->start;
$ua = undef;
-$loop->one_tick;
+$loop->timer(0.25 => sub { shift->stop });
+$loop->start;
ok !$loop->stream($id), 'loop not tainted';
is $code, 301, 'right status';
Please sign in to comment.
Something went wrong with that request. Please try again.