Skip to content

Remove timeout from awards_handler_spec.js

Winnie requested to merge remove-awards-handler-spec-timeout into master

What does this MR do?

Remove the explicit timeout from awards_handler_spec.js and rely on the timeout of jasmine.

From https://jasmine.github.io/2.0/introduction.html#section-44:

By default jasmine will wait for 5 seconds for an asynchronous spec to finish before causing a timeout failure.

Why was this MR needed?

Occasionally, the spec failed on CI—likely because of this timeout. See for example these jobs:

Merge request reports

Loading