From 2030d02c133c4f5947f3002511fd560fa10d4a77 Mon Sep 17 00:00:00 2001 From: emi Date: Thu, 28 Jan 2021 17:25:49 -0700 Subject: [PATCH] Test, increase timeout --- .mocharc.json | 4 ++-- test/services/BlockSummary.fetch.spec.js | 2 +- test/services/BlockSummary.save.spec.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.mocharc.json b/.mocharc.json index cde70890..8d9be021 100644 --- a/.mocharc.json +++ b/.mocharc.json @@ -4,5 +4,5 @@ "sort": true, "ext": "*.spec.js", "exit": true, - "timeout": 100000 -} \ No newline at end of file + "timeout": 900000 +} diff --git a/test/services/BlockSummary.fetch.spec.js b/test/services/BlockSummary.fetch.spec.js index c4e398ec..0e600160 100644 --- a/test/services/BlockSummary.fetch.spec.js +++ b/test/services/BlockSummary.fetch.spec.js @@ -11,7 +11,7 @@ describe(`# BlockSummary fetch`, function () { let summaryData let { hash } = block.block describe(`Getting summary ${hash}`, function () { - this.timeout(60000) + this.timeout(900000) it(`should fetch block`, async () => { let collections = await testCollections(true) diff --git a/test/services/BlockSummary.save.spec.js b/test/services/BlockSummary.save.spec.js index 11ec0349..23fd382a 100644 --- a/test/services/BlockSummary.save.spec.js +++ b/test/services/BlockSummary.save.spec.js @@ -15,7 +15,7 @@ describe(`# BlockSummary save`, function () { function saveBlock (data, msg = 'save') { let { number } = data.block describe(`${msg} ${number}`, function () { - this.timeout(60000) + this.timeout(900000) it(`should save a blockSummary`, async () => { const collections = await testCollections() let { result } = await saveBlockSummary(data, collections, console).catch(err => console.log(err))