Skip to content

Extract quarantine code and add tests

Mark Lapierre requested to merge qa-ml-quarantine-context-refactor into master

What does this MR do?

It wasn't possible to test the quarantine feature as implemented fully in the RSpec configuration because of restrictions on running isolated contexts within other contexts (i.e., using RSpec to test itself)

This extracts the quarantine code into a module and adds unit tests that test the feature within a sandbox, thereby allowing tests within tests.

TODO:

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57666

Does this MR meet the acceptance criteria?

Edited by Mark Lapierre

Merge request reports