Skip to content
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-6638] Remove flakiness test from test_serialized_db remove #7258

Merged
merged 1 commit into from Jan 25, 2020

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jan 25, 2020

The test was failing randomly because it returned the DAGs in random order and
sometimes it failed because test_serialized_dag was removing only one file
from the list of files but the file could be repeated in
case a dag file had more than one DAG defined.


Issue link: AIRFLOW-6638

Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID*
  • Unit tests coverage for changes (not needed for documentation changes)
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

* For document-only changes commit message can start with [AIRFLOW-XXXX].


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

The test was failing randomly because it returned the DAGs in random order and
sometimes it failed because test_serialized_dag was removing only one file
from the list of files but the file could be repeated in
case a dag file had more than one DAG defined.
@potiuk potiuk force-pushed the AIRFLOW-6638-remove-flakiness branch from 2a082c1 to 05e2234 Compare January 25, 2020 14:01
@codecov-io
Copy link

Codecov Report

Merging #7258 into master will decrease coverage by 0.27%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7258      +/-   ##
==========================================
- Coverage   85.33%   85.05%   -0.28%     
==========================================
  Files         791      791              
  Lines       40137    40137              
==========================================
- Hits        34252    34140     -112     
- Misses       5885     5997     +112
Impacted Files Coverage Δ
airflow/kubernetes/volume_mount.py 44.44% <0%> (-55.56%) ⬇️
airflow/kubernetes/volume.py 52.94% <0%> (-47.06%) ⬇️
airflow/kubernetes/pod_launcher.py 45.25% <0%> (-46.72%) ⬇️
airflow/kubernetes/refresh_config.py 50.98% <0%> (-23.53%) ⬇️
...viders/cncf/kubernetes/operators/kubernetes_pod.py 76.47% <0%> (-21.18%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce3635d...05e2234. Read the comment docs.

@potiuk potiuk merged commit 9346bf0 into apache:master Jan 25, 2020
galuszkak pushed a commit to FlyrInc/apache-airflow that referenced this pull request Mar 5, 2020
…pache#7258)

The test was failing randomly because it returned the DAGs in random order and
sometimes it failed because test_serialized_dag was removing only one file
from the list of files but the file could be repeated in
case a dag file had more than one DAG defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants