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/12/07 23:52:56 UTC

[GitHub] [airflow] kaxil commented on pull request #12901: Fix Multiple Migrations Heads

kaxil commented on pull request #12901:
URL: https://github.com/apache/airflow/pull/12901#issuecomment-740252655


   Tested it before and after locally with breeze
   ```
   ================================================================================================================== short test summary info ===================================================================================================================
   FAILED tests/utils/test_db.py::TestDb::test_only_single_head_revision_in_migrations - alembic.util.exc.CommandError: The script directory has multiple heads (due to branching).Please use get_heads(), or merge the branches using alembic merge.
   =============================================================================================================== 1 failed, 1 warning in 11.27s ================================================================================================================
   root@125bca82d58b:/opt/airflow# pytest tests/utils/test_db.py::TestDb::test_only_single_head_revision_in_migrations
   ==================================================================================================================== test session starts =====================================================================================================================
   platform linux -- Python 3.6.12, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python
   cachedir: .pytest_cache
   rootdir: /opt/airflow, configfile: pytest.ini
   plugins: forked-1.3.0, timeouts-1.2.1, cov-2.10.1, celery-4.4.7, flaky-3.7.0, xdist-2.1.0, instafail-0.4.2, requests-mock-1.8.0, rerunfailures-9.1.1
   setup timeout: 0.0s, execution timeout: 0.0s, teardown timeout: 0.0s
   collected 1 item
   
   tests/utils/test_db.py::TestDb::test_only_single_head_revision_in_migrations PASSED                                                                                                                                                                    [100%]
   
   ===================================================================================================================== 1 passed in 2.42s ======================================================================================================================
   root@125bca82d58b:/opt/airflow#
   ```


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