Permalink
Browse files

Add a single fake test in case the tests timeout

Otherwise, they appear to fail.
  • Loading branch information...
1 parent fc6b65c commit 8e22d546d9bf6fd7aa3f0c1e3d2a31439c08c0b4 @sanko committed Jul 20, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 t/000_tests/001_global.t
  2. +1 −1 t/000_tests/002_local.t
View
@@ -11,7 +11,7 @@ my $basedir = File::Temp::tempdir('AB_XXXX', TMPDIR => 1);
chdir '../..' if !-f $torrent;
my $cv = AE::cv;
my $client;
-my $to = AE::timer(90, 0, sub { diag 'Timeout'; $cv->send });
+my $to = AE::timer(90, 0, sub { diag 'Timeout'; ok 'Timeout'; $cv->send });
#
$client = AnyEvent::BitTorrent->new(
View
@@ -11,7 +11,7 @@ my $torrent = q[t/900_data/Sick of Sarah - 2205 BitTorrent Edition.torrent];
chdir '../..' if !-f $torrent;
require t::800_utils::Tracker::HTTP;
my $cv = AE::cv;
-my $to = AE::timer(90, 0, sub { diag 'Timeout'; $cv->send });
+my $to = AE::timer(90, 0, sub { diag 'Timeout'; ok 'Timeout'; $cv->send });
#
my $tracker =

0 comments on commit 8e22d54

Please sign in to comment.