From 4a39afa703839ffd6475cafa307e06fb8eb58408 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Tue, 24 May 2016 19:59:51 +0100 Subject: [PATCH] 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. --- spec/acceptance/apt_key_provider_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.45.2