Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-18565: match the stable part of curl's hostname-mismatch message in test_ssl.bats (#5193)

Nick5739da5a0b0b
diff --git a/solr/packaging/test/test_ssl.bats b/solr/packaging/test/test_ssl.bats
index cf92d144d4f..98f1e9613a5 100644
--- a/solr/packaging/test/test_ssl.bats
+++ b/solr/packaging/test/test_ssl.bats
@@ -100,7 +100,7 @@ teardown() {
# Just test that curl can connect via insecure or via a custom host header
run curl --http2 --cacert "$ssl_dir/solr-ssl.pem" "https://localhost:${SOLR_PORT}/solr/test/select?q=*:*"
- assert_output --partial 'no alternative certificate subject name matches target host name'
+ assert_output --partial 'no alternative certificate subject name matches target host'
# Just test that curl can connect via insecure or via a custom host header
run curl --http2 --cacert "$ssl_dir/solr-ssl.pem" -k "https://localhost:${SOLR_PORT}/solr/test/select?q=*:*"