Skip to content
Snippets Groups Projects
Commit cb18655e authored by Andy Yates's avatar Andy Yates
Browse files

We do not need proxies for this test. Having them actually causes it to go...

We do not need proxies for this test. Having them actually causes it to go wrong. Deleted HTTP_PROXY and http_proxy from Perl ENV hash
parent 7d827de2
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,10 @@ eval {
my $http_test_count = 5;
my $retry_count = 0;
#All tests are done locally. DO NOT INVOLVE PROXY SERVERS
delete $ENV{HTTP_PROXY} if $ENV{HTTP_PROXY};
delete $ENV{http_proxy} if $ENV{http_proxy};
note 'Performing HTTP::Tiny tests';
if($Bio::EnsEMBL::Utils::Net::HTTP_TINY) {
local $Bio::EnsEMBL::Utils::Net::LWP = 0;
......@@ -51,7 +55,7 @@ sub run_http_test {
sub get_server {
my ($self) = @_;
my $httpd = Test::Fake::HTTPD->new(
timeout => 5,
timeout => 30,
);
$httpd->run(sub {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment