Skip to content

Commit

Permalink
chore: Update added identified peer log message
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Oct 16, 2023
1 parent 36ccf23 commit 3a12403
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion homestar-runtime/src/event_handler/swarm_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async fn handle_swarm_event<THandlerErr: fmt::Debug + Send, DB: Database>(
behavior.kademlia.add_address(&peer_id, addr);
debug!(
peer_id = peer_id.to_string(),
"added peer to kademlia table"
"added identified node to kademlia routing table"
);
}
}
Expand Down
5 changes: 5 additions & 0 deletions homestar-runtime/tests/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ fn test_libp2p_connect_after_mdns_discovery_serial() -> Result<()> {
let stdout1 = retrieve_output(dead_proc1);
let stdout2 = retrieve_output(dead_proc2);

println!("STDOUT1");
println!("{}", stdout1.clone());
println!("STDOUT2");
println!("{}", stdout2.clone());

// Check that node one connected to node two.
let one_connected_to_two = check_lines_for(
stdout1.clone(),
Expand Down

0 comments on commit 3a12403

Please sign in to comment.