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 Oct 23, 2022. It is now read-only.
453: Fix multinode test spans r=koivunej a=koivunej
This PR changes how the spans are set up from IpfsOptions and in UninitializedIpfs. While debugging the now ignored test (see #450) I found that the spans were configured wrong and thus none of the multiple nodes created by `spawn_nodes` could be differentiated.
This also renames the spans to more logical from the "$root" given at `IpfsOptions::span`:
`Span::current` => `$root:init`
`Span::current` => `$root:init:swarm`
`$root:swarm` => `$root:exec` (literally the executor libp2p spawns futures through)
`$root` => `$root:bg_task` => `$root:swarm` (background task)
`$root` => `$root:facade` (futures created through Ipfs::* methods)
Still very far from perfect, but perhaps a step into better direction.
Co-authored-by: Joonas Koivunen <[email protected]>
This might be simply that libp2p-kad no longer goes to work before a single peer has been add_peer'd to its routing table. I do believe this should have had a changelog entry...
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See original comment. Should at minimum understand why it no longer works.
The text was updated successfully, but these errors were encountered: