From 60828b102e8b2fd20e5541bbc3322f362221e462 Mon Sep 17 00:00:00 2001 From: tphoney Date: Wed, 20 Jun 2018 19:31:26 +0100 Subject: [PATCH] (bugfix) Dont run ftp tests in travis --- spec/acceptance/apt_key_provider_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/acceptance/apt_key_provider_spec.rb b/spec/acceptance/apt_key_provider_spec.rb index 753eff8f9b..290c043469 100644 --- a/spec/acceptance/apt_key_provider_spec.rb +++ b/spec/acceptance/apt_key_provider_spec.rb @@ -718,7 +718,8 @@ def apply_manifest_twice(manifest_pp) end end - context 'with ftp://' do + # disabled when running in travis containers, security issues prevent FTP + context 'with ftp://', unless: (fact('virtual') == 'docker') do before(:each) do shell("apt-key del #{CENTOS_GPG_KEY_LONG_ID}", acceptable_exit_codes: [0, 1, 2])