You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/10 08:46:00 UTC

[jira] [Commented] (AIRFLOW-914) Refactor BackfillJobTest.test_backfill_examples to not use all examples

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

ASF GitHub Bot commented on AIRFLOW-914:
----------------------------------------

ashb closed pull request #2690: [AIRFLOW-914] Disable test_backfill_examples on Travis
URL: https://github.com/apache/incubator-airflow/pull/2690
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/jobs.py b/tests/jobs.py
index ba08fd62f8..ae63625406 100644
--- a/tests/jobs.py
+++ b/tests/jobs.py
@@ -142,6 +142,8 @@ def test_backfill_multi_dates(self):
 
     @unittest.skipIf('sqlite' in configuration.get('core', 'sql_alchemy_conn'),
                      "concurrent access not supported in sqlite")
+    @unittest.skipIf("TRAVIS" in os.environ and bool(os.environ["TRAVIS"]),
+                     "Skipping on Travis since it's too time-consuming")
     def test_backfill_examples(self):
         """
         Test backfilling example dags


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Refactor BackfillJobTest.test_backfill_examples to not use all examples
> -----------------------------------------------------------------------
>
>                 Key: AIRFLOW-914
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-914
>             Project: Apache Airflow
>          Issue Type: Sub-task
>          Components: ci, tests
>            Reporter: Bolke de Bruin
>            Assignee: Kengo Seki
>            Priority: Major
>             Fix For: 1.10.0
>
>
> BackfillJobTest.test_backfill_examples takes over 5 minutes to execute on Travis. It should use a whitelist instead to run fewer backfills - but some to ensure we still have coverage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)