[
https://issues.apache.org/jira/browse/AIRFLOW-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771470#comment-16771470
]
ASF subversion and git services commented on AIRFLOW-3885:
----------------------------------------------------------
Commit 480eeff027e949a21acbf1a7bc201e272be2d94b in airflow's branch
refs/heads/master from Andrew Stahlman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=480eeff ]
[AIRFLOW-3885] ~2.5x speed-up for backfill tests (#4731)
The BackfillJobTest suite now takes 57 seconds vs. the baseline of 147
seconds on my laptop.
A couple of optimizations:
- Don't sleep() if we are running unit tests
- Don't backfill more DagRuns than needed (reduced from 5 to 2, since we
only need 2 DagRuns to verify that we can run backwards)
I've also made a few tests reentrant by clearing out the Pool, DagRun,
and TaskInstance table between runs.
> Improve Travis buildtime
> ------------------------
>
> Key: AIRFLOW-3885
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3885
> Project: Apache Airflow
> Issue Type: Bug
> Components: travis
> Affects Versions: 1.10.2
> Reporter: Drew Sonne
> Assignee: Drew Sonne
> Priority: Major
> Fix For: 1.10.3
>
>
> * Remove the "install" action on the "pre-test" stage to avoid performing
> lengthy Docker pulls to perform pre-checks
> * Set nosetests to return on any test failures
> ** Given the lengthy runtime of the airflow CI test suites, if any tests
> fail, we should fail immediately and return the failed test locally. Users
> can run the tests locally to get full lists of failed tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)