Changeset 1348

Show
Ignore:
Timestamp:
08/17/06 00:29:54
Author:
miyagawa
Message:

skip pitchforkmedia test for now. it causes test failures without any rational reason

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/EntryFullText.pm

    r1342 r1348  
    117117    # NoNetwork: don't connect for 3 hours 
    118118    my $res = $self->{ua}->fetch( $args->{entry}->permalink, $self, { NoNetwork => 60 * 60 * 3 } ); 
    119     return if !$res->status && $res->is_error; 
     119    if (!$res->status && $res->is_error) { 
     120        $self->log(debug => "Fetch " . $args->{entry}->permalink . " failed"); 
     121        return; 
     122    } 
    120123 
    121124    $args->{content} = decode_content($res); 
  • trunk/plagger/t/TestPlagger.pm

    r1344 r1348  
    4242 
    4343    require IO::Socket::INET; 
    44     my $conn = IO::Socket::INET->new(PeerAddr => $host, Timeout => 10); 
     44    my $conn = IO::Socket::INET->new(PeerAddr => $host, Timeout => 15); 
    4545    defined $conn; 
    4646} 
  • trunk/plagger/t/plugins/Filter-EntryFullText/pitchforkmedia.t

    r1344 r1348  
    11use t::TestPlagger; 
    22 
     3plan skip_all => 'the site is so heavy. Skip for now'; 
     4 
    35test_plugin_deps; 
    4 test_requires 'HTML::TreeBuilder::XPath', 0
     6test_requires 'HTML::TreeBuilder::XPath'
    57test_requires_network 'www.pitchforkmedia.com:80'; 
    68