Skip to content

Commit bc35f6f

Browse files
authored
fix: increase test timeouts for sharding (#18)
* fix: increase test timeouts for sharding
1 parent 971bd3b commit bc35f6f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.aegir.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module.exports = {
44
karma: {
5-
browserNoActivityTimeout: 100 * 1000
5+
browserNoActivityTimeout: 500 * 1000
66
}
77
}

test/builder-dir-sharding.spec.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ const setImmediate = require('async/setImmediate')
1818
const leftPad = require('left-pad')
1919
const CID = require('cids')
2020

21-
describe('builder: directory sharding', function () {
22-
this.timeout(60 * 1000)
23-
21+
describe('builder: directory sharding', () => {
2422
let ipld
2523

2624
before((done) => {
@@ -166,7 +164,9 @@ describe('builder: directory sharding', function () {
166164
})
167165
})
168166

169-
describe('big dir', () => {
167+
describe('big dir', function () {
168+
this.timeout(30 * 1000)
169+
170170
const maxDirs = 2000
171171
let rootHash
172172

@@ -261,7 +261,9 @@ describe('builder: directory sharding', function () {
261261
})
262262
})
263263

264-
describe('big nested dir', () => {
264+
describe('big nested dir', function () {
265+
this.timeout(450 * 1000)
266+
265267
const maxDirs = 2000
266268
const maxDepth = 3
267269
let rootHash

0 commit comments

Comments
 (0)