Skip to content

Commit

Permalink
make dns tests pass even when there's a proxy configured
Browse files Browse the repository at this point in the history
  • Loading branch information
dakkar committed Jan 18, 2024
1 parent 9b61192 commit 505c3e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/14_dns_client_errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ use Test::CustomCredentials;

my $match_message_tests = $ENV{CI};

# proxies can interfere with this test, because the connection will
# succeed (to the proxy), the proxy may return some error page, so
# we're getting InvalidContent instead of ConnectionError
delete local @ENV{qw(http_proxy https_proxy HTTP_PROXY HTTPS_PROXY)};

my $closed_server_endpoint = 'http://unresolvable.example.com';

my $p = Paws->new(config => { credentials => 'Test::CustomCredentials' });
Expand Down

0 comments on commit 505c3e2

Please sign in to comment.