Fix tests

This commit is contained in:
pawan
2020-05-22 18:35:35 +05:30
parent 1be19db3bf
commit 604344bbbc
7 changed files with 31 additions and 9 deletions

View File

@@ -540,6 +540,7 @@ impl<T: SlotClock + 'static, E: EthSpec> AttestationService<T, E> {
#[cfg(test)]
mod tests {
use super::*;
use futures::future::FutureExt;
use parking_lot::RwLock;
/// This test is to ensure that a `tokio_timer::Delay` with an instant in the past will still