From 60af30558c91363239363aef632a41903a5a9cec Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Mon, 25 Jan 2016 23:26:42 +0100 Subject: [PATCH] Cleanups. --- src/tests/chain.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tests/chain.rs b/src/tests/chain.rs index 922def6c7..aeb92d3fd 100644 --- a/src/tests/chain.rs +++ b/src/tests/chain.rs @@ -33,11 +33,8 @@ fn do_json_test(json_data: &[u8]) -> Vec { blocks.into_iter().foreach(|b| { client.import_block(b).unwrap(); }); - flushln!("Imported all"); client.flush_queue(); - flushln!("Flushed"); client.import_verified_blocks(&IoChannel::disconnected()); - flushln!("Checking..."); fail_unless(client.chain_info().best_block_hash == H256::from_json(&test["lastblockhash"])); } fs::remove_dir_all(&dir).unwrap(); @@ -50,5 +47,7 @@ fn do_json_test(json_data: &[u8]) -> Vec { failed } +// Fails. TODO: figure out why. //declare_test!{BlockchainTests_bcStateTest, "BlockchainTests/bcStateTest"} + declare_test!{BlockchainTests_bcForkBlockTest, "BlockchainTests/bcForkBlockTest"}