SameerMesiah97 opened a new pull request, #63369:
URL: https://github.com/apache/airflow/pull/63369

   **Description**
   
   Update tests to avoid patching `tenacity.nap.time.sleep` globally. The 
previous approach (refer to PR #63074) mocked Tenacity’s internal sleep 
function, which modifies a shared module and can inadvertently affect other 
tests that rely on Tenacity’s retry behavior. This led to cross-provider CI 
failures due to cross-test interference. The following is the main test that 
has been affected:
   
   
`providers/google/tests/unit/google/cloud/log/test_stackdriver_task_handler.py::test_should_use_configured_log_name`
   
   The tests now patch the retry behavior at the operator import level instead, 
ensuring the change is scoped only to the Redshift operator tests while leaving 
Tenacity’s global behavior untouched.


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