Taragolis commented on PR #28990:
URL: https://github.com/apache/airflow/pull/28990#issuecomment-1385883196

   The latest thing that I expected to see is success state for task which kill 
themself 😮 😵‍💫 
   
   ```console
   
   >       assert ti.state == State.UP_FOR_RETRY
   E       AssertionError: assert 'success' == <TaskInstance...up_for_retry'>
   E         - up_for_retry
   E         + success
   
   tests/jobs/test_local_task_job.py:812: AssertionError
   ```
   
   And again it only happen with Postgres backend. Need to find a way how to 
reproduce this bug locally:
   1. This test always failed for me in local MacOS (SQLite, Python 3.9)
   2. This test always pass for me in Breeze with Postgres backend. run it with 
`watch -n 2 pytest ...` for a couple hours.
   
   I even started believe that this test tried to told us: "Hey, actually 
something wrong with Postgres Backend. Try to find it!"


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