diff --git a/js/src/miscellaneous.js b/js/src/miscellaneous.js index f4b462ff..babb9810 100644 --- a/js/src/miscellaneous.js +++ b/js/src/miscellaneous.js @@ -83,12 +83,11 @@ module.exports = (common) => { }) // must be last test to run - it('.stop', (done) => { + it('.stop', function (done) { + this.timeout(10 * 1000) // TODO: go-ipfs returns an error, https://github.com/ipfs/go-ipfs/issues/4078 ipfs.stop((err) => { - if (err && err.message !== 'read ECONNRESET') { - expect(err).to.not.exist() - } + // Retry ipfs.stop((err) => { expect(err).to.exist() done()