fixed port offset in test

This commit is contained in:
Svyatoslav Nikolsky 2017-10-04 22:12:45 +03:00
parent 1b1548f539
commit 8961d987a9

View File

@ -1634,7 +1634,7 @@ pub mod tests {
fn generation_session_completion_signalled_if_failed_on_master() { fn generation_session_completion_signalled_if_failed_on_master() {
//::logger::init_log(); //::logger::init_log();
let mut core = Core::new().unwrap(); let mut core = Core::new().unwrap();
let clusters = make_clusters(&core, 6023, 3); let clusters = make_clusters(&core, 6025, 3);
run_clusters(&clusters); run_clusters(&clusters);
loop_until(&mut core, time::Duration::from_millis(300), || clusters.iter().all(all_connections_established)); loop_until(&mut core, time::Duration::from_millis(300), || clusters.iter().all(all_connections_established));