(
rpc_port: u16,
)
| 483 | println!("Test completed successfully!"); |
| 484 | |
| 485 | println!("Sending stop signals to all {} nodes...", node_runtimes.len()); |
| 486 | for (idx, node_runtime) in node_runtimes.iter().enumerate() { |
| 487 | println!("Sending stop signal to node index {}...", idx); |
| 488 | let _ = node_runtime.stop_tx.send(()); |
| 489 | } |
| 490 | |
| 491 | Ok::<_, Box<dyn std::error::Error>>(node_runtimes) |
| 492 | } |
| 493 | })?; |
| 494 | |
| 495 | println!("Waiting for all nodes to shut down..."); |
no test coverage detected