Skip to content

Fix poll_spec transient failures

What does this MR do?

Removes the use of vue-resource as a mock service. Uses a mock service that is just a spy object with a fetch method that will instantly return a "response", rather than going through vue-resource and its interceptors yada, yada.

Also removes the setTimout magic 5 which is never a good sign. 😛

https://gitlab.com/gitlab-org/gitlab-ce/builds/16010974

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports