mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-python/elasticsearch-py: disable ssl in tests
Certificates expired and upstream doesnt run ssl tests eitherway, so better to just disable them as well. Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -81,8 +81,6 @@ src_test() {
|
||||
# So lets add a reasonable limit
|
||||
export ES_JAVA_OPTS="-Xmx4g"
|
||||
|
||||
cp -r "${S}/.ci/certs" "${ES_DIR}/config" || die
|
||||
|
||||
cat > "${ES_DIR}/config/elasticsearch.yml" <<-EOF || die
|
||||
# Run elasticsearch on custom port
|
||||
http.port: ${es_port}
|
||||
@@ -95,16 +93,7 @@ src_test() {
|
||||
|
||||
xpack.license.self_generated.type: basic
|
||||
xpack.security.enabled: true
|
||||
xpack.security.http.ssl.enabled: true
|
||||
xpack.security.http.ssl.verification_mode: certificate
|
||||
xpack.security.http.ssl.key: certs/testnode.key
|
||||
xpack.security.http.ssl.certificate: certs/testnode.crt
|
||||
xpack.security.http.ssl.certificate_authorities: certs/ca.crt
|
||||
xpack.security.transport.ssl.enabled: true
|
||||
xpack.security.transport.ssl.verification_mode: certificate
|
||||
xpack.security.transport.ssl.key: certs/testnode.key
|
||||
xpack.security.transport.ssl.certificate: certs/testnode.crt
|
||||
xpack.security.transport.ssl.certificate_authorities: certs/ca.crt
|
||||
xpack.security.http.ssl.enabled: false
|
||||
EOF
|
||||
|
||||
# Set password in keystore
|
||||
|
||||
Reference in New Issue
Block a user