This MR has been created to reproduce https://gitlab.com/gitlab-org/gitlab-ee/issues/6316
Do not merge!