[ 
https://issues.apache.org/jira/browse/AIRFLOW-6721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040426#comment-17040426
 ] 

ASF subversion and git services commented on AIRFLOW-6721:
----------------------------------------------------------

Commit e91d615e02758da6b9f3cf6be502f0114d866ea3 in airflow's branch 
refs/heads/master from Cooper Gillan
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=e91d615 ]

[AIRFLOW-6721] Organize Apache Hive tests (#7468)

* [AIRFLOW-6721] Move WebHdfsSensor tests to own module

Move the WebHdfsSensor tests out of the operator tests and into a
separate module.

* [AIRFLOW-6721] Move TestHiveEnvironment to test module

Movee the TestHiveEnvironment class and setUp method out to the hive
test module so that it can be used in other hive tests.

* [AIRFLOW-6721] Move Hive Stats tests to separate module

Move skipped test for HiveStatsCollectionOperator to the test_hive_stats
module to make it easier to locate.

* [AIRFLOW-6721] Move NamedHivePartitionSensor tests

Move the NamedHivePartitionSensor tests from the operators module into
the test module for NamedHivePartitionSensor.

* [AIRFLOW-6721] Move HivePartitionSensor tests

Move the HivePartitionSensor tests from the operators module into
the a new test module.

* [AIRFLOW-6721] Move HiveToMySqlTransfer test

Move the HiveToMySqlTransfer test in the operators module into
the existing test module and use the shared test environment for
these tests.

* [AIRFLOW-6721] Move HdfsSensor test to separate module

Move the HdfsSensor test in the operators module into a new test
module and use the shared test environment.

* [AIRFLOW-6721] Move Hive2SambaOperator test

Move the Hive2SambaOperator test in the operators module into the
existing test module and use the shared test environment.

* [AIRFLOW-6721] Move Hive MetastorePartitionSensor test

Move the MetastorePartitionSensor test from the operators module
into a new module and use the shared test environment.

* [AIRFLOW-6721] Move Hive PrestoToMySqlTransfer test

Move the PrestoToMySqlTransfer test from the operators module
into an existing test module and use shared Hive test environment.

* [AIRFLOW-6721] Move PrestoCheckOperator test

Move the PrestoCheckOperator test from the Hive operators module
into a new Presto operators test module while still using the
shared Hive test environment.

* [AIRFLOW-6721] Move Hive SqlSensor test

Move the SqlSensor in the Hive operators module into the existing
SqlSensor test module and label it as such. Use the shared test
environment for all tests, ensuring that original setUp properties
are preserved for the existing tests.


> Reorganize and clean up Hive tests
> ----------------------------------
>
>                 Key: AIRFLOW-6721
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6721
>             Project: Apache Airflow
>          Issue Type: Sub-task
>          Components: tests
>    Affects Versions: 1.10.7
>            Reporter: Cooper Gillan
>            Assignee: Cooper Gillan
>            Priority: Major
>             Fix For: 2.0.0
>
>
> From [this PR 
> comment|https://github.com/apache/airflow/pull/7316#issuecomment-580946162]:
> https://github.com/apache/airflow/blob/master/tests/providers/apache/hive/operators/test_hive.py#L29-L40
> This file contains tests for many unrelated components. I think it would be 
> useful to transfer some tests to other files.
> Here is an example: PolideaInternal@a91b612
> To avoid conflicts you can do it in one PR, but it would be useful for each 
> move to be in a separate commit. This will facilitate the review.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to