Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(seer grouping): Add db decorator to delete grouping records tests (…
…#76882) In #75564, we switched to using an option to control the sample rate of our Seer metrics. Because options are stored in the database, tests hitting the affected code therefore needed to be marked as needing database access. For some reason, two tests in `test_grouping_records.py` to which this applied did not in fact fail without it... until one CI run of a random, unrelated PR three weeks later. So perhaps it's flaky? It doesn't make a ton of sense - the tests in question fail locally quite consistently, _as they should_. Regardless, this fixes the problem by marking both tests with the `@django_db_all` decorator.
- Loading branch information