-
Notifications
You must be signed in to change notification settings - Fork 15
[WIP] test: add ipns dht tests #47
base: master
Are you sure you want to change the base?
Conversation
test/ipns.js
Outdated
.spawn({ | ||
disposable: true, | ||
initOptions: { bits: 512 }, | ||
args: ['--enable-dht-experiment'], // enable dht |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enabled by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we release js-ipfs@0.34
with no dht
enabled by default, we will need this for now.
test/ipns.js
Outdated
it('should publish an ipns record to a go daemon and resolve it using a js daemon through the reuse of the same repo', function (done) { | ||
this.timeout(160 * 1000) | ||
const dir = path.join(os.tmpdir(), hat()) | ||
describe('ipns over dht', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are very different tests to the repo tests above - I'd pull them out into a spearate file.
2766c98
to
00e3b10
Compare
does this also require ipfs/js-ipfs#856 @vasco-santos ? |
This should be good to go once ipfs/interop#51 is ready. The DHT PR is not needed. Just tried it out locally: |
@vasco-santos would you mind rebasing for 🍏 CI please 🙏? |
00e3b10
to
60725cd
Compare
@alanshaw I rebased this PR and CI is green now. However, we are now dependent on ipfs/js-ipfs/pull/1994. With no experimental flag for |
60725cd
to
575036d
Compare
575036d
to
dfb3fb5
Compare
94b26b7
to
f4c783a
Compare
e2cb915
to
b006606
Compare
PR containing a set of tests aimimg to test the IPNS over DHT interoperability between
go-ipfs
andjs-ipfs
.Needs:
js-ipfs@0.35.0