Print network config

This commit is contained in:
Arthur Petukhovsky
2023-08-29 14:10:57 +00:00
parent 1effb586ba
commit d801ba7248
2 changed files with 3 additions and 2 deletions

View File

@@ -196,6 +196,7 @@ fn test_one_schedule() -> anyhow::Result<()> {
let seed = 11245530003696902397;
config.network = generate_network_opts(seed);
info!("network: {:?}", config.network);
let test = config.start(seed);
warn!("Running test with seed {}", seed);

View File

@@ -16,7 +16,7 @@ use super::{
world::{Node, NodeEvent, World},
};
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct Delay {
pub min: u64,
pub max: u64,
@@ -52,7 +52,7 @@ impl Delay {
}
}
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct NetworkOptions {
/// Connection will be automatically closed after this timeout.
pub keepalive_timeout: Option<u64>,