thelabdude commented on a change in pull request #312:
URL: https://github.com/apache/solr-operator/pull/312#discussion_r698804396
##########
File path: controllers/controller_utils_test.go
##########
@@ -184,46 +182,6 @@ func expectDeployment(t *testing.T, g *gomega.GomegaWithT,
requests chan reconci
return deploy
}
-func verifyUserSuppliedTLSConfig(t *testing.T, tls *solr.SolrTLSOptions,
expectedKeystorePasswordSecretName string, expectedKeystorePasswordSecretKey
string, expectedTlsSecretName string, needsPkcs12InitContainer bool) {
Review comment:
Moved these TLS specific test helper functions to
`solrcloud_controller_tls_test` as they are only used by TLS tests and now seem
out of place in this file
##########
File path: controllers/controller_utils_test.go
##########
@@ -279,170 +237,6 @@ func expectInitContainer(t *testing.T, podTemplate
*corev1.PodTemplateSpec, expN
return expInitContainer
}
-// Ensures all the TLS env vars, volume mounts and initContainers are setup
for the PodTemplateSpec
Review comment:
Moved these TLS specific test helper functions to
`solrcloud_controller_tls_test` as they are only used by TLS tests and now seem
out of place in this file
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]