Skip to content

Commit

Permalink
(bugfix) Dont run ftp tests in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Jun 21, 2018
1 parent 292b6ff commit 60828b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/apt_key_provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 60828b1

Please sign in to comment.