From: David Schmitt Date: Tue, 24 May 2016 18:59:51 +0000 (+0100) Subject: Update tests to use the pool servers instead of ubuntu's X-Git-Tag: 2.3.0~13^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4a39afa703839ffd6475cafa307e06fb8eb58408;p=puppet-modules%2Fpuppetlabs-apt.git Update tests to use the pool servers instead of ubuntu's Using the ubuntu keyserver causes stability issues during CI runs, hopefully the pool servers are less fragile. --- diff --git a/spec/acceptance/apt_key_provider_spec.rb b/spec/acceptance/apt_key_provider_spec.rb index 04b983c..1661a2b 100644 --- a/spec/acceptance/apt_key_provider_spec.rb +++ b/spec/acceptance/apt_key_provider_spec.rb @@ -86,7 +86,7 @@ describe 'apt_key' do EOS # Install the key first - shell("apt-key adv --keyserver keyserver.ubuntu.com \ + shell("apt-key adv --keyserver hkps.pool.sks-keyservers.net \ --recv-keys #{CENTOS_GPG_KEY_FINGERPRINT}") shell(CENTOS_KEY_CHECK_COMMAND) @@ -97,7 +97,7 @@ describe 'apt_key' do shell(CENTOS_KEY_CHECK_COMMAND, :acceptable_exit_codes => [1]) - shell("apt-key adv --keyserver keyserver.ubuntu.com \ + shell("apt-key adv --keyserver hkps.pool.sks-keyservers.net \ --recv-keys #{CENTOS_GPG_KEY_FINGERPRINT}") end end @@ -112,7 +112,7 @@ describe 'apt_key' do EOS # Install the key first - shell("apt-key adv --keyserver keyserver.ubuntu.com \ + shell("apt-key adv --keyserver hkps.pool.sks-keyservers.net \ --recv-keys #{PUPPETLABS_GPG_KEY_LONG_ID}") shell(PUPPETLABS_KEY_CHECK_COMMAND)