diff --git a/CHANGELOG.md b/CHANGELOG.md index d05890f5..14d8e405 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ + +## [0.107.3](https://github.com/ipfs/interface-ipfs-core/compare/v0.107.2...v0.107.3) (2019-07-16) + + + ## [0.107.2](https://github.com/ipfs/interface-ipfs-core/compare/v0.107.1...v0.107.2) (2019-07-16) diff --git a/package.json b/package.json index bf451cdf..f2c997bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interface-ipfs-core", - "version": "0.107.2", + "version": "0.107.3", "description": "A test suite and interface you can use to implement a IPFS core interface.", "leadMaintainer": "Alan Shaw ", "main": "src/index.js", diff --git a/src/name/resolve.js b/src/name/resolve.js index 6002c249..58e46c6b 100644 --- a/src/name/resolve.js +++ b/src/name/resolve.js @@ -31,7 +31,9 @@ module.exports = (createCommon, options) => { after((done) => common.teardown(done)) - it('should resolve a record default options', async () => { + it('should resolve a record default options', async function () { + this.timeout(20 * 1000) + const [{ path }] = await ipfs.add(Buffer.from('should resolve a record default options')) const { id: keyId } = await ipfs.key.gen('key-name-default', { type: 'rsa', size: 2048 }) @@ -50,7 +52,9 @@ module.exports = (createCommon, options) => { .to.eq(`/ipfs/${path}`) }) - it('should resolve a record recursive === true', async () => { + it('should resolve a record recursive === true', async function () { + this.timeout(20 * 1000) + const [{ path }] = await ipfs.add(Buffer.from('should resolve a record recursive === true')) const { id: keyId } = await ipfs.key.gen('key-name', { type: 'rsa', size: 2048 }) @@ -62,7 +66,9 @@ module.exports = (createCommon, options) => { .to.eq(`/ipfs/${path}`) }) - it('should resolve a record default options with remainder', async () => { + it('should resolve a record default options with remainder', async function () { + this.timeout(20 * 1000) + const [{ path }] = await ipfs.add(Buffer.from('should resolve a record default options with remainder')) const { id: keyId } = await ipfs.key.gen('key-name-remainder-default', { type: 'rsa', size: 2048 }) @@ -81,7 +87,9 @@ module.exports = (createCommon, options) => { .to.eq(`/ipfs/${path}/remainder/file.txt`) }) - it('should resolve a record recursive === true with remainder', async () => { + it('should resolve a record recursive === true with remainder', async function () { + this.timeout(20 * 1000) + const [{ path }] = await ipfs.add(Buffer.from('should resolve a record recursive = true with remainder')) const { id: keyId } = await ipfs.key.gen('key-name-remainder', { type: 'rsa', size: 2048 }) @@ -117,13 +125,13 @@ module.exports = (createCommon, options) => { describe('.name.resolve dns', function () { const common = createCommon() let ipfs - this.retries(3) + this.retries(5) before(function (done) { common.setup((err, factory) => { expect(err).to.not.exist() - spawnNodeWithId(factory, (err, node) => { + factory.spawnNode((err, node) => { expect(err).to.not.exist() ipfs = node