-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): Elasticsearch smoke tests update
- Loading branch information
1 parent
ccadade
commit 99c1b5d
Showing
7 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ tenacity | |
-e ../metadata-ingestion[datahub-rest,datahub-kafka,mysql] | ||
slack-sdk==3.18.1 | ||
aiohttp | ||
pytest-xdist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
|
||
# Runs a basic e2e test. It is not meant to be fully comprehensive, | ||
# but rather should catch obvious bugs before they make it into prod. | ||
# | ||
# Script assumptions: | ||
# - The gradle build has already been run. | ||
# - Python 3.6+ is installed and in the PATH. | ||
|
||
# Log the locally loaded images | ||
# docker images | grep "datahub-" | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
cd "$DIR" | ||
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install --upgrade pip wheel setuptools | ||
pip install -r requirements.txt | ||
|
||
echo "DATAHUB_VERSION = ${DATAHUB_VERSION:=acryl-datahub 0.0.0.dev0}" | ||
DATAHUB_TELEMETRY_ENABLED=false datahub docker quickstart --build-locally --standalone_consumers --dump-logs-on-failure | ||
|
||
(cd ..; ./gradlew :smoke-test:yarnInstall) | ||
|
||
pytest -n3 -rP --durations=20 -vv --continue-on-collection-errors --junit-xml=junit.smoke.xml $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters