-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIRFLOW-5580] Add base class for system test #6229
[AIRFLOW-5580] Add base class for system test #6229
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6229 +/- ##
=========================================
- Coverage 80.05% 79.96% -0.1%
=========================================
Files 610 610
Lines 35264 35264
=========================================
- Hits 28232 28200 -32
- Misses 7032 7064 +32
Continue to review full report at Codecov.
|
558f9f1
to
d719e1f
Compare
It should be rebased to the latest master @nuclearpinguin |
@nuclearpinguin This PR contains too much commits. Can you fix it? |
1034138
to
74e7526
Compare
74e7526
to
c490399
Compare
dag_folder = resolve_dags_folder() | ||
with empty_dags_directory(dag_folder): | ||
db.upgradedb() | ||
db.resetdb() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resetdb does upgrade, there's no need to do both
This commit proposes base class for running system test in Airflow. The main concepts is to create an example DAG and run it for test purpose. This is especially important in case of integration with third party services.
c490399
to
4437fc2
Compare
* [AIRFLOW-5580] Add base class for system test This commit proposes base class for running system test in Airflow. The main concepts is to create an example DAG and run it for test purpose. This is especially important in case of integration with third party services.
Make sure you have checked all steps below.
Jira
Description
This PR proposes base class for running system test in Airflow. The
main concepts is to create an example DAG and run it for test purpose. This
is especially important in case of integration with third party services. The change is a part of refactor of GCP system test and aims to decouple running a test and handling authentication.
Tests
Commits
Documentation