Skip to content

Commit

Permalink
Test, increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorizzo committed Jan 29, 2021
1 parent 0dafc1e commit 2030d02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"sort": true,
"ext": "*.spec.js",
"exit": true,
"timeout": 100000
}
"timeout": 900000
}
2 changes: 1 addition & 1 deletion test/services/BlockSummary.fetch.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/services/BlockSummary.save.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2030d02

Please sign in to comment.