Don't run validator-manager tests in debug

This commit is contained in:
Paul Hauner
2022-08-25 09:13:43 +10:00
parent 328a450b2f
commit 40b1619317
3 changed files with 6 additions and 0 deletions

View File

@@ -505,6 +505,8 @@ async fn run<'a, T: EthSpec>(config: CreateConfig, spec: &ChainSpec) -> Result<(
Ok(())
}
// The tests use crypto and are too slow in debug.
#[cfg(not(debug_assertions))]
#[cfg(test)]
pub mod tests {
use super::*;