This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 825c2d6efdb Remove new-ish curl option in integration test
825c2d6efdb is described below
commit 825c2d6efdb12d2227a5251f388eb6857e23a246
Author: Houston Putman <[email protected]>
AuthorDate: Fri May 12 12:45:18 2023 -0400
Remove new-ish curl option in integration test
---
solr/packaging/test/test_ssl.bats | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/solr/packaging/test/test_ssl.bats
b/solr/packaging/test/test_ssl.bats
index 3f9065956d9..3e53a7c6b29 100644
--- a/solr/packaging/test/test_ssl.bats
+++ b/solr/packaging/test/test_ssl.bats
@@ -93,6 +93,7 @@ teardown() {
run curl -u name:password --basic --http2 --cacert "$ssl_dir/solr-ssl.pem"
'https://localhost:8983/solr/test/select?q=*:*'
assert_output --partial '"numFound":0'
- run ! curl --http2 --fail-with-body --cacert "$ssl_dir/solr-ssl.pem"
'https://localhost:8983/solr/test/select?q=*:*'
+ # When the Jenkins box "curl" supports --fail-with-body, add
"--fail-with-body" and change "run" to "run !", to expect a failure
+ run curl --http2 --cacert "$ssl_dir/solr-ssl.pem"
'https://localhost:8983/solr/test/select?q=*:*'
assert_output --partial '401 require authentication'
}