You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/15 12:13:17 UTC
[GitHub] [airflow] mik-laj edited a comment on pull request #9217: Import error read endpoints and schema
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:
users@infra.apache.org