Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Add one more error reason for mtls integration test

Houston Putmaneb498c8eb67f
diff --git a/solr/packaging/test/test_ssl.bats b/solr/packaging/test/test_ssl.bats
index 7d02ebebe03..4569acee517 100644
--- a/solr/packaging/test/test_ssl.bats
+++ b/solr/packaging/test/test_ssl.bats
@@ -350,7 +350,7 @@ teardown() {
export SOLR_SSL_CLIENT_KEY_STORE_PASSWORD=
run ! solr api -verbose -get "https://localhost:${SOLR_PORT}/solr/test/select?q=*:*&rows=0"
- assert_output --regexp '(bad_certificate|Server refused connection)'
+ assert_output --regexp '(bad_certificate|java.nio.channels.ClosedChannelException|Server refused connection)'
)
)