You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/11/30 10:17:51 UTC

[airflow] branch v1-10-test updated: The UndefinedJinjaVariablesRule.invalid_check is flaky

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new f91f268  The UndefinedJinjaVariablesRule.invalid_check is flaky
f91f268 is described below

commit f91f2684b1962b899370ce5533ec24ab8cb8832e
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Nov 30 11:15:34 2020 +0100

    The UndefinedJinjaVariablesRule.invalid_check is flaky
---
 tests/upgrade/rules/test_undefined_jinja_varaibles.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/upgrade/rules/test_undefined_jinja_varaibles.py b/tests/upgrade/rules/test_undefined_jinja_varaibles.py
index 83f99a3..973801a 100644
--- a/tests/upgrade/rules/test_undefined_jinja_varaibles.py
+++ b/tests/upgrade/rules/test_undefined_jinja_varaibles.py
@@ -19,6 +19,7 @@ from tempfile import mkdtemp
 from unittest import TestCase
 
 import jinja2
+import pytest
 
 from airflow import DAG
 from airflow.models import DagBag
@@ -155,6 +156,7 @@ class TestUndefinedJinjaVariablesRule(TestCase):
 
         assert len(messages) == 0
 
+    @pytest.mark.quarantined
     def test_invalid_check(self):
         dagbag = DagBag(dag_folder=self.empty_dir, include_examples=False)
         dagbag.dags[self.invalid_dag.dag_id] = self.invalid_dag