Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit some tests for now until we update our CA cert #386

Merged
merged 1 commit into from
Jan 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/integration/test_bind.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_bind_fail
end

def test_bind_tls_with_cafile
omit "We need to update our CA cert"
@ldap.host = INTEGRATION_HOSTNAME
@ldap.encryption(
method: :start_tls,
Expand Down Expand Up @@ -67,6 +68,7 @@ def test_bind_tls_with_bad_hostname_verify_none_no_ca_opt_merge_passes
end

def test_bind_tls_with_bad_hostname_verify_peer_ca_fails
omit "We need to update our CA cert"
@ldap.host = 'cert.mismatch.example.org'
@ldap.encryption(
method: :start_tls,
Expand All @@ -84,6 +86,7 @@ def test_bind_tls_with_bad_hostname_verify_peer_ca_fails
end

def test_bind_tls_with_bad_hostname_ca_default_opt_merge_fails
omit "We need to update our CA cert"
@ldap.host = 'cert.mismatch.example.org'
@ldap.encryption(
method: :start_tls,
Expand All @@ -100,6 +103,7 @@ def test_bind_tls_with_bad_hostname_ca_default_opt_merge_fails
end

def test_bind_tls_with_bad_hostname_ca_no_opt_merge_fails
omit "We need to update our CA cert"
@ldap.host = 'cert.mismatch.example.org'
@ldap.encryption(
method: :start_tls,
Expand All @@ -116,6 +120,7 @@ def test_bind_tls_with_bad_hostname_ca_no_opt_merge_fails
end

def test_bind_tls_with_valid_hostname_default_opts_passes
omit "We need to update our CA cert"
@ldap.host = INTEGRATION_HOSTNAME
@ldap.encryption(
method: :start_tls,
Expand All @@ -127,6 +132,7 @@ def test_bind_tls_with_valid_hostname_default_opts_passes
end

def test_bind_tls_with_valid_hostname_just_verify_peer_ca_passes
omit "We need to update our CA cert"
@ldap.host = INTEGRATION_HOSTNAME
@ldap.encryption(
method: :start_tls,
Expand All @@ -151,6 +157,7 @@ def test_bind_tls_with_bogus_hostname_system_ca_fails
end

def test_bind_tls_with_multiple_hosts
omit "We need to update our CA cert"
@ldap.host = nil
@ldap.hosts = [[INTEGRATION_HOSTNAME, 389], [INTEGRATION_HOSTNAME, 389]]
@ldap.encryption(
Expand All @@ -163,6 +170,7 @@ def test_bind_tls_with_multiple_hosts
end

def test_bind_tls_with_multiple_bogus_hosts
# omit "We need to update our CA cert"
@ldap.host = nil
@ldap.hosts = [['cert.mismatch.example.org', 389], ['bogus.example.com', 389]]
@ldap.encryption(
Expand All @@ -179,6 +187,7 @@ def test_bind_tls_with_multiple_bogus_hosts
end

def test_bind_tls_with_multiple_bogus_hosts_no_verification
omit "We need to update our CA cert"
@ldap.host = nil
@ldap.hosts = [['cert.mismatch.example.org', 389], ['bogus.example.com', 389]]
@ldap.encryption(
Expand Down