Fix some random failures
What does this MR do?
This is a backport from EE. It fixes the spec that causes a failure of any spec that goes after it.
Details in CE->EE MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1475#note_25970075
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Relevant https://gitlab.com/gitlab-org/gitlab-ce/issues/29836