[reporting] increase timeout of esqueue tests (#35325)

Fixes https://github.com/elastic/kibana/issues/35129

We've seen a single timeout in the reporting tests, and since it uses setTimeout I assume it's just getting a little delayed. Hoping that switching from a 2sec to 10sec timeout should solve this. These tests should be gone soon anyway once we move to the task manager for reporting job management.
This commit is contained in:
Spencer 2019-04-18 15:20:52 -07:00 committed by GitHub
parent 29dfbd39d5
commit 16f798aced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,9 @@ const defaultWorkerOptions = {
};
describe('Worker class', function () {
// some of these tests might be a little slow, give them a little extra time
this.timeout(10000);
let anchorMoment;
let clock;
let client;