Errors testing one batched background migration prevent testing of subsequent migrations
In gitlab-org/gitlab!110348 (merged) a different batched background migration threw a statement timeout during migration testing, preventing the testing of the migration being scheduled. We should isolate these errors so that they do not leak beyond a single test batch.