potiuk commented on code in PR #46891:
URL: https://github.com/apache/airflow/pull/46891#discussion_r2213056863


##########
airflow-core/tests/unit/api_fastapi/conftest.py:
##########
@@ -126,6 +126,7 @@ def configure_git_connection_for_dag_bundle(session):
         login="",
     )
     session.add(connection)
+    session.commit()

Review Comment:
   Explained in detail in the other conversation - replaced it with flush just 
before the "clear_db_connections" below and added comments explaining why it is 
needed.



-- 
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