Skip to content

Commit

Permalink
made online test a little more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 23, 2012
1 parent b6b51d3 commit d328b04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/mojo/user_agent_online.t
Expand Up @@ -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';

Expand Down

0 comments on commit d328b04

Please sign in to comment.