mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 04:48:21 +00:00
Don't run validator-manager tests in debug
This commit is contained in:
@@ -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::*;
|
||||
|
||||
@@ -189,6 +189,8 @@ async fn run<'a>(config: ImportConfig) -> Result<(), String> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
// The tests use crypto and are too slow in debug.
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[cfg(test)]
|
||||
pub mod tests {
|
||||
use super::*;
|
||||
|
||||
@@ -529,6 +529,8 @@ pub fn backup_validator<P: AsRef<Path>>(
|
||||
)
|
||||
}
|
||||
|
||||
// The tests use crypto and are too slow in debug.
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user