30s timeout

This commit is contained in:
James Wilson
2025-08-15 15:54:41 +01:00
parent 77f389bc74
commit 458a0901d3
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ pub struct Arguments {
pub geth: PathBuf,
/// The maximum time in milliseconds to wait for geth to start.
#[arg(long = "geth-start-timeout", default_value = "10000")]
#[arg(long = "geth-start-timeout", default_value = "30000")]
pub geth_start_timeout: u64,
/// The test network chain ID.
+4 -1
View File
@@ -223,7 +223,10 @@ impl GethNode {
}
}
if Instant::now().duration_since(start_time) > maximum_wait_time {
anyhow::bail!("Timeout in starting geth");
anyhow::bail!(
"Timeout in starting geth: took longer than {}ms",
self.start_timeout
);
}
}
}