Module test_utils

Source
Available on crate feature testing only.

Structs§

TestNode
Test node configuration for network tests

Functions§

create_node_with_keys
Helper to create a whitelisted test node
create_whitelisted_nodes
Helper to create a set of nodes with whitelisted keys
setup_log
wait_for_all_handshakes
Helper to wait for handshake completion between multiple nodes
wait_for_condition
Wait for a condition with timeout
wait_for_handshake_completion
Helper to wait for handshake completion between two nodes
wait_for_peer_discovery
Wait for peers to discover each other
wait_for_peer_info
Wait for peer info to be updated