Fix the flaky spec "spec/requests/api/pipelines_spec.rb"
Summary
I've seen "spec/requests/api/pipelines_spec.rb" failed twice in this week. Here is one of the failures. https://gitlab.com/dosuken123/gitlab-ce/builds/17312877.
This means if 150 developers working in a week, 300 pipelines have failed even if they might be innocent.
Steps to reproduce
Ummm. I have no idea.
What is the current bug behavior?
This is not a bug. Probably...
What is the expected correct behavior?
"spec/requests/api/pipelines_spec.rb" has to be passed every time.
Relevant logs and/or screenshots
Possible fixes
I think we can loose the intensity of the spec.