kaxil commented on a change in pull request #18575:
URL: https://github.com/apache/airflow/pull/18575#discussion_r718557455
##########
File path: tests/models/test_dagbag.py
##########
@@ -792,6 +792,31 @@ def _sync_to_db():
_sync_to_db()
mock_sync_perm_for_dag.assert_called_once_with(dag,
session=session)
+ def test_sync_to_db_dag_specific_perms_failure(self, caplog):
+ """
+ Test that errors during dagbag.sync_to_db, specifically syncng DAG
specific permissions, are logged
+ and added to import_errors every parsing cycle
Review comment:
```suggestion
Test that errors during dagbag.sync_to_db, specifically syncing DAG
specific permissions, are logged
and added to import_errors every parsing cycle
```
--
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]