fixup! Debug tests
This commit is contained in:
parent
16cb9cfca2
commit
8365d76277
@ -25,6 +25,7 @@ use types::{
|
||||
};
|
||||
|
||||
type T = Witness<SystemTimeSlotClock, CachingEth1Backend<E>, E, MemoryStore<E>, MemoryStore<E>>;
|
||||
const SLOT_DURATION_MILLIS: u64 = 400;
|
||||
|
||||
struct TestRig {
|
||||
beacon_processor_rx: mpsc::Receiver<WorkEvent<T>>,
|
||||
@ -56,7 +57,7 @@ impl TestRig {
|
||||
.unwrap()
|
||||
.as_secs(),
|
||||
),
|
||||
Duration::from_millis(400),
|
||||
Duration::from_millis(SLOT_DURATION_MILLIS),
|
||||
))
|
||||
.build()
|
||||
.expect("should build");
|
||||
|
@ -394,6 +394,8 @@ mod tests {
|
||||
use tokio::sync::mpsc;
|
||||
use types::{Hash256, MinimalEthSpec as E};
|
||||
|
||||
const SLOT_DURATION_MILLIS: u64 = 400;
|
||||
|
||||
#[derive(Debug)]
|
||||
struct FakeStorage {
|
||||
known_blocks: RwLock<HashSet<Hash256>>,
|
||||
@ -617,7 +619,7 @@ mod tests {
|
||||
.unwrap()
|
||||
.as_secs(),
|
||||
),
|
||||
Duration::from_millis(400),
|
||||
Duration::from_millis(SLOT_DURATION_MILLIS),
|
||||
))
|
||||
.build()
|
||||
.expect("should build"),
|
||||
|
Loading…
Reference in New Issue
Block a user