Skip to content

Commit

Permalink
add 3 second pause after setting up network in common_test()
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime2 committed Aug 15, 2019
1 parent 8e03673 commit 5bba6da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generic_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use serde::{Deserialize, Serialize};
use std::ops::{Index, IndexMut};
use std::sync::mpsc;
use std::sync::mpsc::Receiver;
use std::{thread, time};

#[derive(Clone, Debug, Deserialize, Serialize, Eq, Hash, PartialEq, PartialOrd, Ord)]
pub struct Data(pub u32);
Expand Down Expand Up @@ -108,6 +109,7 @@ pub fn common_test<
.unwrap();
trns.push(T::new(config));
}
thread::sleep(time::Duration::from_secs(3));

// Test broadcast
println!("Broadcast test");
Expand Down

0 comments on commit 5bba6da

Please sign in to comment.