mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-07 17:18:23 +00:00

* Issue 898 (#905) * ISSUE-898: additional information in the prerequisities for building and running code * ISSUE-898: removed unreachable old doc * ISSUE-898: added new docker compose to expose MySQL and ES ports to host machines * ISSUE-898: changed jdbc connect url to allow Public Key Retrieval * ISSUE-898: fixed log name to openmetadata.log Co-authored-by: Vijay Mariadassou <vijay@mariadassou.com> * Fixes #906 Remove unused methods lingering from #899 * Update pull_request_template.md * Update pull_request_template.md * ISSUE-861: add elasticsearch username & password (#894) * ISSUE-861: add elasticsearch username & password * ISSUE-861: python elasticsearch sink add username & password * ISSUE-861: bugfix * format code * format code * updated instructions to run integration tests * fixed api call to metadata server; changed test to cover both database as well as table operations everytime Co-authored-by: Vijay Mariadassou <vijay@mariadassou.com> Co-authored-by: sureshms <suresh@getcollate.io> Co-authored-by: Suresh Srinivas <srini30005@gmail.com> Co-authored-by: rong fengliang <1141591465@qq.com>
971 B
971 B
Run Integration Tests
{% hint style="info" %} Make sure OpenMetadata is up and running. Refer to instructions building and running. {% endhint %}
Run MySQL test
Run the following commands from the top-level directory
python3 -m venv /tmp/venv
source /tmp/venv/bin/activate
pip install -r ingestion/requirements.txt
pip install -e ingestion
pip install pytest
pip install pytest-docker
cd ingestion/tests/integration/mysql
pytest -s -c /dev/null
Run MsSQL test
cd ingestion
source env/bin/activate
cd tests/integration/mssql
pytest -s -c /dev/null
Run Postgres test
cd ingestion
source env/bin/activate
cd tests/integration/postgres
pytest -s -c /dev/null
Run LDAP test
cd ingestion
source env/bin/activate
cd tests/integration/ldap
pytest -s -c /dev/null
Run Hive test
cd ingestion
source env/bin/activate
cd tests/integration/hive
pytest -s -c /dev/null