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

fix: ensure test for resolve recursive has another node #346

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Aug 6, 2018

The resolve IPNS link recursively test uses name.publish to publish an IPNS link as the value for the peer. It then uses resolve to resolve the peer ID and recursively then resolve the IPNS link.

This fixes the test so that when name.publish is called there is another connected node to publish to so that we do not get the error "failed to find any peer in table", in the case that the node has not yet connected to any other peers.

The resolve IPNS link recursively test uses name.publish to publish an IPNS link as the value for the peer. It then uses resolve to resolve the peer ID and recursively then resolve the IPNS link. This fixes the test so that when name.publish is called there is another connected node to publish to so that we do not get the error "failed to find any peer in table", in the case that the node has not yet connected to any other peers.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>
@alanshaw alanshaw changed the title [WIP] fix: ensure test for resolve recursive has another node fix: ensure test for resolve recursive has another node Aug 6, 2018
@alanshaw alanshaw merged commit 09c2637 into master Aug 6, 2018
@alanshaw alanshaw deleted the fix/resolve-recursive-ensure-node branch August 6, 2018 16:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant