[
https://issues.apache.org/jira/browse/AIRFLOW-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16770741#comment-16770741
]
Andrew Stahlman commented on AIRFLOW-3885:
------------------------------------------
Fun fact: the 10 slowest tests account for roughly half (48%) of the total
runtime of the tests:
{noformat}
[success] 12.99% tests.test_jobs.SchedulerJobTest.test_scheduler_start_date:
295.1935s
[success] 6.79%
tests.test_jobs.SchedulerJobTest.test_scheduler_multiprocessing: 154.2304s
[success] 6.72%
tests.test_jobs.SchedulerJobTest.test_scheduler_task_start_date: 152.7215s
[success] 4.34%
tests.test_jobs.SchedulerJobTest.test_new_import_error_replaces_old: 98.7339s
[success] 3.63%
tests.test_jobs.SchedulerJobTest.test_remove_error_clears_import_error: 82.4062s
[success] 3.55%
tests.test_jobs.SchedulerJobTest.test_add_unparseable_file_after_sched_start_creates_import_error:
80.5942s
[success] 3.54%
tests.test_jobs.SchedulerJobTest.test_remove_file_clears_import_error: 80.3903s
[success] 2.65%
tests.contrib.sensors.test_python_sensor.PythonSensorTests.test_python_sensor_false:
60.1926s
[success] 2.15% tests.test_jobs.SchedulerJobTest.test_dag_with_system_exit:
48.7568s
[success] 1.82%
tests.test_jobs.SchedulerJobTest.test_no_import_errors_with_parseable_dag:
41.2670s{noformat}
> 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)