Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 2720e57

Browse files
author
Pedro Santos
committed
fix: increase dht findProvs test timeout
1 parent f3a8224 commit 2720e57

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/dht/find-provs.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ module.exports = (createCommon, options) => {
1919
const common = createCommon()
2020

2121
describe('.dht.findProvs', function () {
22+
this.timeout(80 * 1000)
23+
2224
let nodeA
2325
let nodeB
2426
let nodeC
2527

26-
before(async () => {
28+
before(async function () {
29+
this.timeout(60 * 1000)
2730
nodeA = await common.setup()
2831
nodeB = await common.setup()
2932
nodeC = await common.setup()
@@ -37,6 +40,8 @@ module.exports = (createCommon, options) => {
3740

3841
let providedCid
3942
before('add providers for the same cid', async function () {
43+
this.timeout(10 * 1000)
44+
4045
const cids = await Promise.all([
4146
nodeB.object.new('unixfs-dir'),
4247
nodeC.object.new('unixfs-dir')

0 commit comments

Comments
 (0)