mik-laj edited a comment on pull request #9217:
URL: https://github.com/apache/airflow/pull/9217#issuecomment-644094352


   @OmairK Okay. I looked at what the problem was. The problem is that 
`clear_db_import_errors` function doesn't reset the sequence.  Each newly added 
element has a new identifier. However, if the object was created in another 
test, then the numbering continues in your test. If you run one test several 
times, only the first run will be correct, but all others will fail. I have 
prepared a patch that normalizes identifiers in responses.
   https://github.com/apache/airflow/pull/9217/commits
   This should help. What do you think about this?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to