-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1059 from tensorlakeai/eugene-test-fixes
Fix broken tests and delete function image tests
- Loading branch information
Showing
9 changed files
with
37 additions
and
298 deletions.
There are no files selected for viewing
Empty file.
65 changes: 0 additions & 65 deletions
65
python-sdk/tests/image_bootstraper_test/test_graph_image_builder_broken.py
This file was deleted.
Oops, something went wrong.
74 changes: 0 additions & 74 deletions
74
python-sdk/tests/image_bootstraper_test/test_graph_image_builder_mixed.py
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
python-sdk/tests/image_bootstraper_test/test_graph_image_builder_working.py
This file was deleted.
Oops, something went wrong.
79 changes: 0 additions & 79 deletions
79
python-sdk/tests/image_bootstraper_test/test_graph_image_version.py
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
if [[ -z "$INDEXIFY_URL" ]]; then | ||
echo "Please set INDEXIFY_URL environment variable to specify"\ | ||
"Indexify Server you are testing." \ | ||
"Example: 'export INDEXIFY_URL=http://localhost:8900'" 1>&2 | ||
exit 1 | ||
fi | ||
|
||
# Run each test file one by one sequentially. Returns non zero status | ||
# code if any of the test commands return non zero status code. Doesn't | ||
# stop if a test command fails. | ||
find . -name 'test_*.py' | xargs -L1 poetry run python | ||
TESTS_EXIT_CODE=$? | ||
|
||
if [ $TESTS_EXIT_CODE -eq 0 ]; then | ||
echo "All tests passed!" | ||
else | ||
echo "One or more tests failed. Please check output log for details." | ||
fi | ||
|
||
exit $TESTS_EXIT_CODE |
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
Oops, something went wrong.