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

Commit f534785

Browse files
committed
WIP: Get CI green
1 parent 62e9331 commit f534785

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

js/src/dht.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ module.exports = (common) => {
153153
})
154154

155155
describe('.query', () => {
156-
it('returns the other node in the query', (done) => {
156+
it('returns the other node in the query', function (done) {
157+
this.timeout(800 * 1000)
157158
nodeA.dht.query(nodeC.peerId.id, (err, peers) => {
158159
expect(err).to.not.exist()
159160
expect(peers.map((p) => p.ID)).to.include(nodeC.peerId.id)

js/src/object.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,8 @@ module.exports = (common) => {
676676
})
677677
})
678678

679-
describe('.patch', () => {
679+
describe('.patch', function () {
680+
this.timeout(800 * 1000)
680681
let testNodeMultihash
681682
let testNodeWithLinkMultihash
682683
let testLink
@@ -719,7 +720,10 @@ module.exports = (common) => {
719720
(cb) => {
720721
// note: we need to put the linked obj, otherwise IPFS won't
721722
// timeout. Reason: it needs the node to get its size
722-
ipfs.object.put(node2, cb)
723+
ipfs.object.put(node2, (err, node) => {
724+
expect(err).to.not.exist()
725+
cb()
726+
})
723727
},
724728
(cb) => {
725729
const link = node2.toJSON()

0 commit comments

Comments
 (0)