From cb18655e25a5050279e13341c47d0c3ad8991c12 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Mon, 18 Mar 2013 13:48:43 +0000 Subject: [PATCH] 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 --- modules/t/utilsNet.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/t/utilsNet.t b/modules/t/utilsNet.t index ba29772d17..6a67dda212 100644 --- a/modules/t/utilsNet.t +++ b/modules/t/utilsNet.t @@ -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 { -- GitLab