[AIRFLOW-2612] Enable some Hive-related tests on CI#3498
Closed
sekikn wants to merge 1 commit into
Closed
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3498 +/- ##
=======================================
Coverage 77.34% 77.34%
=======================================
Files 204 204
Lines 15159 15159
=======================================
Hits 11725 11725
Misses 3434 3434Continue to review full report at Codecov.
|
Contributor
|
@gglanzani PTAL |
Contributor
Contributor
Author
|
@gglanzani Sure thing! I missed that PR. |
There is several HiveServer2-related tests which are not run by default in tests/operators/hive_operator.py, but AIRFLOW-2534 implemented almost all of them in airflow/hooks/hive_hooks.py. This PR removes duplicated tests from tests/operators/hive_operator.py and moves an unimplemented test to airflow/hooks/hive_hooks.py with a bit of fix.
Contributor
Author
|
@gglanzani I found that #3432 covers almost all of tests implemented in tests.operators.hive_operator:HiveServer2Test. Great work! |
Contributor
aliceabe
pushed a commit
to aliceabe/incubator-airflow
that referenced
this pull request
Jan 3, 2019
There is several HiveServer2-related tests which are not run by default in tests/operators/hive_operator.py, but AIRFLOW-2534 implemented almost all of them in airflow/hooks/hive_hooks.py. This PR removes duplicated tests from tests/operators/hive_operator.py and moves an unimplemented test to airflow/hooks/hive_hooks.py with a bit of fix. Closes apache#3498 from sekikn/AIRFLOW-2612
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make sure you have checked all steps below.
JIRA
Description
tests/operators/hive_operator.py has test cases
called HiveServer2Test and HivePrestoTest,
which are disabled by default.
This PR enables the former as the first step
to improve test coverage for Hive-related
hooks and operators.
HiveServer2Test had the following tests:
Tests
This PR enables the tests described above.
Commits
Documentation
Code Quality
git diff upstream/master -u -- "*.py" | flake8 --diff