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

Head commit for run:
e160b859c82b2f5a715b0dbfe7c3564eb8d84653 / 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/14294339458

With regards,
GitHub Actions via GitBox


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

Reply via email to