From 00717eda768c00ea3901d3e0638b1150ebfbfa91 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Tue, 23 Oct 2018 13:30:38 +0200 Subject: [PATCH] fix(tests): increase timeout --- .../v3/integration/groups/GET-groups_groupId_invites.test.js | 2 +- test/api/v3/integration/hall/GET-hall_patrons.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js b/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js index cb132d9b11..06cbf4974a 100644 --- a/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js +++ b/test/api/v3/integration/groups/GET-groups_groupId_invites.test.js @@ -79,7 +79,7 @@ describe('GET /groups/:groupId/invites', () => { expect(member).to.have.all.keys(['_id', 'id', 'profile']); expect(member.profile).to.have.all.keys(['name']); }); - }); + }).timeout(10000); it('supports using req.query.lastId to get more invites', async function () { this.timeout(30000); // @TODO: times out after 8 seconds diff --git a/test/api/v3/integration/hall/GET-hall_patrons.test.js b/test/api/v3/integration/hall/GET-hall_patrons.test.js index 85acd568e2..1e9064ad43 100644 --- a/test/api/v3/integration/hall/GET-hall_patrons.test.js +++ b/test/api/v3/integration/hall/GET-hall_patrons.test.js @@ -56,5 +56,5 @@ describe('GET /hall/patrons', () => { expect(morePatrons.length).to.equal(2); expect(morePatrons[0].backer.tier).to.equal(2); expect(morePatrons[1].backer.tier).to.equal(1); - }); + }).timeout(10000); });