ashb commented on code in PR #24156:
URL: https://github.com/apache/airflow/pull/24156#discussion_r913092662


##########
tests/conftest.py:
##########
@@ -194,9 +194,11 @@ def pytest_addoption(parser):
 
 def initial_db_init():
     from airflow.utils import db
+    from airflow.www.app import create_app
 
     db.resetdb()
     db.bootstrap_dagbag()
+    create_app(config={'UPDATE_FAB_PERMS': True})

Review Comment:
   This change seems out of place -- doing this here is going to hugely slow 
down running many tests that don't need or care about FAB.
   
   
   What is this change for?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to