Fix improper tick sleeping time in test (#4155)

automerge
This commit is contained in:
carllin 2019-05-03 20:15:10 -07:00 committed by Grimes
parent 6b3384c205
commit 297328ff9a
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ fn test_two_unbalanced_stakes() {
let num_ticks_per_slot = 40;
let num_slots_per_epoch = MINIMUM_SLOT_LENGTH as u64;
fullnode_config.tick_config =
PohServiceConfig::Sleep(Duration::from_millis(100 / num_ticks_per_second));
PohServiceConfig::Sleep(Duration::from_millis(1000 / num_ticks_per_second));
fullnode_config.rpc_config.enable_fullnode_exit = true;
let mut cluster = LocalCluster::new(&ClusterConfig {
node_stakes: vec![999_990, 3],