From 44c4845d844b5808ee11cd925fdf8e8146eba6e4 Mon Sep 17 00:00:00 2001 From: keorn Date: Mon, 19 Sep 2016 18:40:25 +0200 Subject: [PATCH] fix up step switching test --- ethcore/src/engines/authority_round.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ethcore/src/engines/authority_round.rs b/ethcore/src/engines/authority_round.rs index 54d236a0c..79acbe0c9 100644 --- a/ethcore/src/engines/authority_round.rs +++ b/ethcore/src/engines/authority_round.rs @@ -350,14 +350,9 @@ mod tests { // Too early. assert!(engine.verify_block_seal(&header).is_err()); - sleep(Duration::from_millis(1000)); + sleep(Duration::from_millis(2000)); // Right step. assert!(engine.verify_block_seal(&header).is_ok()); - - sleep(Duration::from_millis(1000)); - - // Future step. - assert!(engine.verify_block_seal(&header).is_ok()); } }