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:
Alfred Wingate
2023-05-02 20:07:18 +03:00
committed by Joonas Niilola
parent 6e58c4bee5
commit 3dfe40dcb6
@@ -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