Skip to content

Fix leaky test file where actual production data were cached

Rémy Coutable requested to merge fix-leaky-test into master

What does this MR do and why?

This fixes a flaky test file where data would be cached and leak to different test files (#1274 (closed)).

I first reverted b5b2b972 locally to make sure I could reproduce the failure, then made this change to fix it.

Expected impact & dry-runs

These are strongly recommended to assist reviewers and reduce the time to merge your change.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Edited by Rémy Coutable

Merge request reports