Skip to content

Commit

Permalink
Always skip TLS verify on TestCouchbaseServerIncorrectLogin when usin…
Browse files Browse the repository at this point in the history
…g TLS (#6826)
  • Loading branch information
bbrks authored May 14, 2024
1 parent 1140f36 commit 649ce2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/bucket_gocb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,7 @@ func TestCouchbaseServerIncorrectLogin(t *testing.T) {
}
if tls {
testBucket.BucketSpec.Server = strings.ReplaceAll(testBucket.BucketSpec.Server, "couchbase://", "couchbases://")
testBucket.BucketSpec.TLSSkipVerify = true // test env isn't always using valid certs
} else {
testBucket.BucketSpec.Server = strings.ReplaceAll(testBucket.BucketSpec.Server, "couchbases://", "couchbase://")
}
Expand Down

0 comments on commit 649ce2b

Please sign in to comment.