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

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

Commit e6fcd29a6a5042139e5b118b123d230a05a4dec4 in airflow's branch 
refs/heads/v1-10-stable from Andrew Stahlman
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=e6fcd29 ]

[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)

Reply via email to