From a41174e21fb13c8b1214a79f27b3976900d99932 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 7 May 2019 17:17:17 +0200 Subject: [PATCH] Test for student or teacher timeouts from time to time. --- CHANGELOG.md | 1 + api/test/integration/download.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afef4f275..05a4d178f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Bump version number to 0.8.6. [#1206](https://github.com/geli-lms/geli/pull/1206) - Refactor `DownloadController`. [#913](https://github.com/geli-lms/geli/issues/913) +- Timeout for pdf export tests increased. [#1248](https://github.com/geli-lms/geli/pull/1248) ### Fixed - Apidoc: parser plugin 'param' not found in block. [#1207](https://github.com/geli-lms/geli/pull/1207) diff --git a/api/test/integration/download.ts b/api/test/integration/download.ts index 367448499..f4b47860b 100644 --- a/api/test/integration/download.ts +++ b/api/test/integration/download.ts @@ -197,7 +197,7 @@ describe('DownloadFile', () => { .catch(err => err.response); expect(res).to.have.status(200); expect(res).to.be.json; - }).timeout(30000); + }).timeout(45000); it('should pass (student)', async () => { const course = await FixtureUtils.getRandomCourseWithAllUnitTypes(); const student = await FixtureUtils.getRandomStudentForCourse(course); @@ -209,7 +209,7 @@ describe('DownloadFile', () => { .catch(err => err.response); expect(res).to.have.status(200); expect(res).to.be.json; - }).timeout(30000); + }).timeout(45000); }); describe(`POST ${BASE_URL + '/pdf/single'}`, () => {