Skip to content

Commit

Permalink
faster listen socket test
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 26, 2014
1 parent 973d6a6 commit a0b4a0d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions t/mojo/ioloop.t
Expand Up @@ -162,15 +162,7 @@ $loop->start;
unlike $ENV{MOJO_REUSE}, qr/(?:^|\,)127\.0\.0\.1:${port}:/,
'environment is clean';
ok $connected, 'connected';
$err = undef;
$loop->client(
(port => $port) => sub {
shift->stop;
$err = shift;
}
);
$loop->start;
ok $err, 'has error';
ok !$loop->acceptor($id), 'acceptor has been removed';

# Removed connection (with delay)
my $removed;
Expand Down

0 comments on commit a0b4a0d

Please sign in to comment.