Comment #1 on issue 140 by mike.lifeguard: t/27_sitematrix.t fails if
noc.wikimedia.org is offline
http://code.google.com/p/perlwikipedia/issues/detail?id=140
Probably noc was offline, so aawiki didn't get filtered out:
# Now filter out closed wikis
my $response =
$self->{api}->{ua}->get('http://noc.wikimedia.org/conf/closed.dblist');
if ($response->is_success()) {
my @closed_list = split(/\n/, $response->decoded_content);
CLOSED: foreach my $closed (@closed_list) {
delete($by_db{$closed});
}
}
It might be possible to write the test such that this doesn't fail under
such circumstances.
Comment #2 on issue 140 by mike.lifeguard: t/27_sitematrix.t fails if
Not worth the effort.