dabla commented on PR #38111:
URL: https://github.com/apache/airflow/pull/38111#issuecomment-2051971605

   > Those are new tests you addded that are now failing, It's a different 
error you get:
   > 
   > You also need to mark the test as db_test per instruction:
   > 
   > > FAILED 
tests/providers/microsoft/azure/operators/test_msgraph.py::TestMSGraphAsyncOperator::test_execute
 - airflow.exceptions.AirflowInternalRuntimeError: Your test accessed the DB 
but `_AIRFLOW_SKIP_DB_TESTS` is set.
   > > Either make sure your test does not use database or mark the test with 
`@pytest.mark.db_test`
   > > See 
https://github.com/apache/airflow/blob/main/contributing-docs/testing/unit_tests.rst#best-practices-for-db-tests
 on how to deal with it and consult examples.
   > 
   > Now why they are not failing in 3.10+ I am not sure - maybe your tests 
follow different path on those python versions without trying to access DB ?
   
   Hmm those tests are not new, the only new one is the TestMSGraphSensor and 
that one doesn't fail apparently.  Weird...


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