Fix a nasty transient failure happening is a subsequent spec
What does this MR do?
Explanation can be found at https://gitlab.com/gitlab-org/gitlab-ce/issues/34698#note_34276286.
What are the relevant issue numbers?
Closes #34698 (closed)
/cc @nick.thomas