feng-tao commented on a change in pull request #4457: [AIRFLOW-XXX] Fix 
TestTriggerDag flaky test
URL: https://github.com/apache/airflow/pull/4457#discussion_r245870276
 
 

 ##########
 File path: tests/www_rbac/test_views.py
 ##########
 @@ -1464,12 +1464,9 @@ def test_trigger_dag_button_normal_exist(self):
 
     def test_trigger_dag_button(self):
 
-        test_dag_id = "example_bash_operator"
+        test_dag_id = "example_python_operator"
 
         DR = models.DagRun
-        self.session.query(DR).delete()
-        self.session.commit()
-
         self.client.get('trigger?dag_id={}'.format(test_dag_id))
 
 Review comment:
   thanks. this pr is for testing only. I would like to see why the test fails 
particularly for MySQL ORM. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to