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

Commit 6274a6c

Browse files
committed
chore: bump timeouts for nodejs 6
1 parent 377696d commit 6274a6c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

test/import-export-nested-dir.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ module.exports = (repo) => {
2222
ipldResolver = new IPLDResolver(bs)
2323
})
2424

25-
it('imports', (done) => {
25+
it('imports', function (done) {
26+
this.timeout(20 * 1000)
27+
2628
pull(
2729
pull.values([
2830
{ path: 'a/b/c/d/e', content: pull.values([Buffer.from('banana')]) },
@@ -56,7 +58,9 @@ module.exports = (repo) => {
5658
)
5759
})
5860

59-
it('exports', done => {
61+
it('exports', function (done) {
62+
this.timeout(20 * 1000)
63+
6064
pull(
6165
unixFSEngine.exporter(rootHash, ipldResolver),
6266
pull.collect((err, files) => {

test/with-dag-api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe('with dag-api', function () {
166166
const expected = extend({}, defaultResults, strategies[strategy])
167167

168168
describe('importer: ' + strategy, function () {
169-
this.timeout(20 * 1000)
169+
this.timeout(50 * 1000)
170170

171171
let node
172172

@@ -179,7 +179,7 @@ describe('with dag-api', function () {
179179
}
180180

181181
before(function (done) {
182-
this.timeout(20 * 1000)
182+
this.timeout(30 * 1000)
183183

184184
node = new IPFS({
185185
repo: path.join(os.tmpdir(), 'unixfs-test-' + Math.random()),

0 commit comments

Comments
 (0)