Skip to content

Commit b6ccf0e

Browse files
committed
Remove ssl_ca mismatch test
2 parents b48aacc + 51298d0 commit b6ccf0e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ jobs:
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
# 2.7 and 3.0 fail at the moment
7877
ruby-version: ["2.6"]
7978
steps:
8079
- name: Checkout code

spec/octocatalog-diff/tests/puppetdb_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,12 @@ def basic_auth_test(server_opts, opts = {})
372372
end.to raise_error(Errno::ENOENT)
373373
end
374374

375-
# it 'should raise an error if non-matching CA file is specified' do
376-
# opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
377-
# expect do
378-
# ssl_test(server_opts, opts)
379-
# end.to raise_error(OpenSSL::SSL::SSLError)
380-
# end
375+
# it 'should raise an error if non-matching CA file is specified' do
376+
# opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
377+
# expect do
378+
# ssl_test(server_opts, opts)
379+
# end.to raise_error(OpenSSL::SSL::SSLError)
380+
# end
381381

382382
it 'should raise error if server hostname does not match expected' do
383383
c_opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/ca.crt'))

0 commit comments

Comments
 (0)