ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Izhikov <nizhi...@apache.org>
Subject [TeamCity] Python Thin Client test job improvement
Date Mon, 31 Aug 2020 09:55:42 GMT
Hello, Igniters.

JFYI

Currently, we don’t test SSL mode for Python Thin Client.

I and Andrey Kuznetsov are working on IGNITE-12718 [1] «Python Thin Client add an ability
to specify keyfile password» 
To test existed SSL support and new feature I need to update «ThinClient: Python»  job [2]

I will do it in the nearest time.

Locally, I use this script. Will use similar approach on TC.

```
#!/bin/sh

IGNITE_HOME=/Users/sbt-izhikov-nv/bin/apache-ignite-2.10.0-SNAPSHOT-bin
export PYTHON_TEST_CONFIG_PATH=/Users/sbt-izhikov-nv/src/ignite/modules/platforms/python/tests/config

$IGNITE_HOME/bin/ignite.sh $PYTHON_TEST_CONFIG_PATH/ssl.xml & 
IGNITE_PID=$! 

TEST_OPTS="--use-ssl=True --ssl-certfile=$PYTHON_TEST_CONFIG_PATH/ssl/client_full.pem"
python3 setup.py pytest --addopts="$TEST_OPTS"

TEST_OPTS="--use-ssl=True --ssl-certfile=$PYTHON_TEST_CONFIG_PATH/ssl/client_with_pass_full.pem
--ssl-keyfile-password=654321"
python3 setup.py pytest --addopts="$TEST_OPTS"

pkill -P $IGNITE_PID
```

[1] https://github.com/apache/ignite/pull/8200
[2] https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteTests24Java8_ThinClientPython
Mime
View raw message