mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 01:12:56 +00:00
Print network config
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user