You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Some API calls require more than one node to be active, otherwise they fail or timeout (also considered failure), for example: name, DHT and swarm tests.
Our current:
vartest=require('interface-ipfs-core')varcommon={setup: function(cb){cb(null,yourIPFSInstance)},teardown: function(cb){cb()}}// use all of the test suitstest.all(common)
Needs to be upgraded to:
vartest=require('interface-ipfs-core')varcommon={setup: function(cb){cb(null,ipfsFactory)},teardown: function(cb){cb()}}// use all of the test suitstest.all(common)
Where ipfsFactory has a method to spawn a new node
ipfsFactory.spawnNode((err,node)
More, since we already learned from js-ipfs-api and js-ipfs that is useful to spawn nodes with custom configs (e.g: mdns off; no boostrap nodes, etc). What we really need is
ipfsFactory.spawnNode(config,(err,node)
The text was updated successfully, but these errors were encountered:
Some API calls require more than one node to be active, otherwise they fail or timeout (also considered failure), for example: name, DHT and swarm tests.
Our current:
Needs to be upgraded to:
Where
ipfsFactory
has a method to spawn a new nodeMore, since we already learned from js-ipfs-api and js-ipfs that is useful to spawn nodes with custom configs (e.g: mdns off; no boostrap nodes, etc). What we really need is
The text was updated successfully, but these errors were encountered: