[
https://issues.apache.org/jira/browse/AIRFLOW-2488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795646#comment-16795646
]
Gerardo Curiel commented on AIRFLOW-2488:
-----------------------------------------
[~Fokko] I was mentioning in https://issues.apache.org/jira/browse/AIRFLOW-2556
that we should get more specific about how much time we aim to reduce from the
build time.
For the record, this is how it looks like now:
[success] 7.66% tests.test_jobs.BackfillJobTest.test_backfill_examples:
{color:#FF0000}121.3222s{color}
[success] 4.62% tests.test_jobs.BackfillJobTest.test_backfill_multi_dates:
{color:#FF0000}73.1436s{color}
[success] 3.80%
tests.contrib.sensors.test_python_sensor.PythonSensorTests.test_python_sensor_false:
{color:#FF0000}60.1841s{color}
[success] 2.75% tests.transplant_class.<locals>.C.test_backfill:
{color:#FF0000}43.6282s{color}
[success] 1.90%
tests.executors.test_celery_executor.CeleryExecutorTest.test_celery_integration_1_redis_redis_6379_0:
{color:#FF0000}30.0887s{color}
[success] 1.88%
tests.test_impersonation.ImpersonationTest.test_impersonation_subdag:
{color:#FF0000}29.7641s{color}
[success] 1.39%
tests.test_jobs.SchedulerJobTest.test_new_import_error_replaces_old:
{color:#FF0000}22.1033s{color}
[success] 1.33%
tests.test_jobs.BackfillJobTest.test_run_ignores_all_dependencies:
{color:#FF0000}21.1023s{color}
> Speed up the CI
> ---------------
>
> Key: AIRFLOW-2488
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2488
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Fokko Driesprong
> Priority: Major
>
> Some of the tests take far to long:
> {{[success] 14.51% tests.BackfillJobTest.test_backfill_examples: 259.7899s
> [success] 4.29% tests.hooks.test_s3_hook.TestS3Hook.test_list_keys_paged:
> 76.7397s
> [success] 4.18% tests.hooks.test_s3_hook.TestS3Hook.test_list_prefixes_paged:
> 74.8025s
> [success] 2.58% tests.BackfillJobTest.test_backfill_multi_dates: 46.1206s
> [success] 2.38% tests.SchedulerJobTest.test_scheduler_start_date: 42.5719s
> [success] 1.95%
> tests.CoreTest.test_schedule_dag_no_end_date_up_to_today_only: 34.9399s
> [success] 1.71% tests.CliTests.test_backfill: 30.5825s
> [success] 1.70% tests.SchedulerJobTest.test_scheduler_multiprocessing:
> 30.3580s
> [success] 1.68%
> tests.contrib.hooks.test_gcp_mlengine_hook.TestMLEngineHook.test_create_mlengine_job:
> 30.0609s
> [success] 1.68% tests.SchedulerJobTest.test_new_import_error_replaces_old:
> 29.9968s}}
> These tests should be refactored to make them faster.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)