Use fork weight instead of individual bank weight for fork selection. (#7079)

* Fix weight calculation

* Fix tests

* fork weight

* wait until nodes are in the leader schedule

* enable sanity

* fewer long tests
This commit is contained in:
anatoly yakovenko
2019-11-21 15:47:08 -08:00
committed by GitHub
parent c965a110f2
commit d9e7a5fcbe
3 changed files with 133 additions and 313 deletions

View File

@ -200,7 +200,7 @@ fn run_network_partition(partitions: &[usize]) {
..ClusterConfig::default()
};
let now = timestamp();
let partition_start = now + 30_000;
let partition_start = now + 60_000;
let partition_end = partition_start + 10_000;
let mut total = 0;
for (j, pn) in partitions.iter().enumerate() {