Fokko closed pull request #4457: [AIRFLOW-3650] Skip running on mysql for the 
flaky test
URL: https://github.com/apache/airflow/pull/4457
 
 
   

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/www_rbac/test_views.py b/tests/www_rbac/test_views.py
index 062b7c2abf..df9b5c1da2 100644
--- a/tests/www_rbac/test_views.py
+++ b/tests/www_rbac/test_views.py
@@ -1462,6 +1462,8 @@ def test_trigger_dag_button_normal_exist(self):
         self.assertIn('/trigger?dag_id=example_bash_operator', 
resp.data.decode('utf-8'))
         self.assertIn("return confirmDeleteDag('example_bash_operator')", 
resp.data.decode('utf-8'))
 
+    @unittest.skipIf('mysql' in conf.conf.get('core', 'sql_alchemy_conn'),
+                     "flaky when run on mysql")
     def test_trigger_dag_button(self):
 
         test_dag_id = "example_bash_operator"


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to