OpenMetadata
Search…
Run Integration Tests
Make sure OpenMetadata is up and running. Refer to instructions building and running.

Run MySQL test

Run the following commands from the top-level directory
1
python3 -m venv /tmp/venv
2
source /tmp/venv/bin/activate
3
pip install -r ingestion/requirements.txt
4
pip install -e ingestion
5
pip install pytest
6
pip install pytest-docker
7
cd ingestion/tests/integration/mysql
8
pytest -s -c /dev/null
Copied!

Run MsSQL test

1
cd ingestion
2
source env/bin/activate
3
cd tests/integration/mssql
4
pytest -s -c /dev/null
Copied!

Run Postgres test

1
cd ingestion
2
source env/bin/activate
3
cd tests/integration/postgres
4
pytest -s -c /dev/null
Copied!

Run LDAP test

1
python3 -m venv /tmp/venv
2
source /tmp/venv/bin/activate
3
pip install -r ingestion/requirements.txt
4
pip install -e ingestion
5
pip install pytest
6
pip install pytest-docker
7
cd ingestion/tests/integration/ldap
8
pytest -s -c /dev/null
Copied!

Run Hive test

1
python3 -m venv /tmp/venv
2
source /tmp/venv/bin/activate
3
pip install -r ingestion/requirements.txt
4
pip install -e ingestion
5
pip install pytest
6
pip install pytest-docker
7
pip install pyhive thrift sasl thrift_sasl
8
cd ingestion/tests/integration/hive
9
pytest -s -c /dev/null
Copied!
Last modified 10d ago