Skip to content

Commit

Permalink
Pend the external-db-TLS BRATS
Browse files Browse the repository at this point in the history
These tests have been invalid since their creation. From the beginning
they have passed certificate material in the director deployment
manifest, however the director itself has (always?) expected to be passed
_paths_ to the certificates.

Original tests here:
f97c556#diff-ab90421945d114536b0c024f3cbaee7f4566c79a592ba9d46b395f0771745b42R293-R306

and

Director config here:
https://github.com/cloudfoundry/bosh/blob/c095b06c91f14ef51b5a8bcea20c3ec3651590b8/src/bosh-director/lib/bosh/director/config.rb#L303-L318
  • Loading branch information
aramprice committed Sep 23, 2024
1 parent 2885c86 commit 0bec3a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/brats/acceptance/external_db_tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"brats/utils"
)

var _ = Describe("Director external database TLS connections", func() {
var _ = PDescribe("Director external database TLS connections", func() {
testDBConnectionOverTLS := func(databaseType string, mutualTLSEnabled bool, useIncorrectCA bool) {
tmpCertDir, err := os.MkdirTemp("", fmt.Sprintf("db_tls_%d", GinkgoParallelProcess()))
Expect(err).ToNot(HaveOccurred())
Expand Down Expand Up @@ -63,8 +63,7 @@ var _ = Describe("Director external database TLS connections", func() {
useIncorrectCA = true

DescribeTable("DB Connections", testDBConnectionOverTLS,
// Pending https://www.pivotaltracker.com/story/show/153421636/comments/185372185
PEntry("fails to connect to MYSQL refer to https://www.pivotaltracker.com/story/show/153421636/comments/185372185", "gcp_mysql", mutualTLSEnabled, useIncorrectCA),
Entry("fails to connect to MYSQL", "gcp_mysql", mutualTLSEnabled, useIncorrectCA),
Entry("fails to connect to POSTGRES", "gcp_postgres", mutualTLSEnabled, useIncorrectCA),
)
})
Expand Down

0 comments on commit 0bec3a0

Please sign in to comment.