vijaypm 9edd824c3a
Issue 910 (#914)
* 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>
2021-10-23 19:58:26 -07:00

57 lines
971 B
Markdown

# Run Integration Tests
{% hint style="info" %}
Make sure OpenMetadata is up and running. Refer to instructions [building and running](build-code-run-tests.md).
{% endhint %}
## Run MySQL test
Run the following commands from the top-level directory
```text
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
```text
cd ingestion
source env/bin/activate
cd tests/integration/mssql
pytest -s -c /dev/null
```
## Run Postgres test
```text
cd ingestion
source env/bin/activate
cd tests/integration/postgres
pytest -s -c /dev/null
```
## Run LDAP test
```text
cd ingestion
source env/bin/activate
cd tests/integration/ldap
pytest -s -c /dev/null
```
## Run Hive test
```text
cd ingestion
source env/bin/activate
cd tests/integration/hive
pytest -s -c /dev/null
```