Removed test log initializations

This commit is contained in:
arkpar 2016-01-29 12:27:50 +01:00
parent 029aef42ef
commit cfa2776e75
3 changed files with 0 additions and 6 deletions

View File

@ -306,7 +306,6 @@ impl TestNet {
#[test] #[test]
fn full_sync_two_peers() { fn full_sync_two_peers() {
::env_logger::init().ok();
let mut net = TestNet::new(3); let mut net = TestNet::new(3);
net.peer_mut(1).chain.add_blocks(1000, false); net.peer_mut(1).chain.add_blocks(1000, false);
net.peer_mut(2).chain.add_blocks(1000, false); net.peer_mut(2).chain.add_blocks(1000, false);
@ -317,7 +316,6 @@ fn full_sync_two_peers() {
#[test] #[test]
fn full_sync_empty_blocks() { fn full_sync_empty_blocks() {
::env_logger::init().ok();
let mut net = TestNet::new(3); let mut net = TestNet::new(3);
for n in 0..200 { for n in 0..200 {
net.peer_mut(1).chain.add_blocks(5, n % 2 == 0); net.peer_mut(1).chain.add_blocks(5, n % 2 == 0);
@ -330,7 +328,6 @@ fn full_sync_empty_blocks() {
#[test] #[test]
fn forked_sync() { fn forked_sync() {
::env_logger::init().ok();
let mut net = TestNet::new(3); let mut net = TestNet::new(3);
net.peer_mut(0).chain.add_blocks(300, false); net.peer_mut(0).chain.add_blocks(300, false);
net.peer_mut(1).chain.add_blocks(300, false); net.peer_mut(1).chain.add_blocks(300, false);

View File

@ -75,7 +75,6 @@ fn test_net_service() {
#[test] #[test]
fn test_net_connect() { fn test_net_connect() {
::env_logger::init().ok();
let key1 = KeyPair::create().unwrap(); let key1 = KeyPair::create().unwrap();
let mut config1 = NetworkConfiguration::new_with_port(30344); let mut config1 = NetworkConfiguration::new_with_port(30344);
config1.use_secret = Some(key1.secret().clone()); config1.use_secret = Some(key1.secret().clone());

View File

@ -671,7 +671,6 @@ mod tests {
use super::*; use super::*;
use nibbleslice::*; use nibbleslice::*;
use rlp::*; use rlp::*;
use env_logger;
use rand::random; use rand::random;
use std::collections::HashSet; use std::collections::HashSet;
use bytes::{ToPretty,Bytes,Populatable}; use bytes::{ToPretty,Bytes,Populatable};
@ -727,7 +726,6 @@ mod tests {
#[test] #[test]
fn playpen() { fn playpen() {
env_logger::init().ok();
/*let maps = map!{ /*let maps = map!{
"six-low" => StandardMap{alphabet: Alphabet::Low, min_key: 6, journal_key: 0, count: 1000}, "six-low" => StandardMap{alphabet: Alphabet::Low, min_key: 6, journal_key: 0, count: 1000},