From fcd0dafbe43c6fee532c18b66c1c5203c14b4718 Mon Sep 17 00:00:00 2001 From: arkpar Date: Fri, 12 Feb 2016 15:48:26 +0100 Subject: [PATCH] Fixed random failing test --- sync/src/tests/chain.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sync/src/tests/chain.rs b/sync/src/tests/chain.rs index a5244f26a..5ee5df831 100644 --- a/sync/src/tests/chain.rs +++ b/sync/src/tests/chain.rs @@ -143,8 +143,7 @@ fn propagade_hashes() { blocks += 1; } } - assert!(blocks > 0); - assert!(hashes > 0); + assert!(blocks + hashes == 5); } #[test]