The GitHub Actions job "Tests" on airflow.git/db-test-no-hardcoded-ids has 
failed.
Run started by GitHub user ashb (triggered by ashb).

Head commit for run:
d8edffb2930d27df3507cba76275cd117642fcfa / Ash Berlin-Taylor <[email protected]>
Update tests to not use hard-coded autoinc ID values

When I was iterating on these tests locally and sometimes killing them with ^C
or kill -9 the next run of these tests ends up failing with unique constraint
failures.

While clearing the tables is one such fix (and in a few places already) I
think it is also worth not using hard-coded idea, but letting the DB give us
the next ID. It also means the tests don't use magic numbers (`== 1`, `== 2`
etc) but instead compare to names (`== old_trigger.id` etc).

Report URL: https://github.com/apache/airflow/actions/runs/14293234990

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to