Skip to content

Fix the Upload model being tainted after migration spec

What does this MR do?

Fix an intermittent failure that might happen when the remove_empty_fork_networks_spec.rb runs before specs that use the Upload model.

https://gitlab.com/gitlab-org/gitlab-ce/issues/42090 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16487

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports