From b34d3ee5a22325b93e01bf1cdd4e1af72657636d Mon Sep 17 00:00:00 2001 From: arkpar Date: Sat, 17 Dec 2016 12:28:31 +0100 Subject: [PATCH] Fixin racy test --- ethcore/src/tests/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/tests/client.rs b/ethcore/src/tests/client.rs index b56feef05..fa5522d7f 100644 --- a/ethcore/src/tests/client.rs +++ b/ethcore/src/tests/client.rs @@ -316,7 +316,7 @@ fn does_not_propagate_delayed_transactions() { assert_eq!(0, client.ready_transactions().len()); assert_eq!(2, client.miner().pending_transactions().len()); push_blocks_to_client(client, 53, 2, 2); - client.import_verified_blocks(); + client.flush_queue(); assert_eq!(2, client.ready_transactions().len()); assert_eq!(2, client.miner().pending_transactions().len()); }