fix so that we don't hit end of epoch - leader not found before trying to transfer

This commit is contained in:
Carl
2019-03-22 20:47:32 -07:00
parent 68a8b955bc
commit e32f798d5f
2 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ fn test_two_unbalanced_stakes() {
num_slots_per_epoch,
);
cluster_tests::sleep_n_epochs(
10,
10.0,
&fullnode_config.tick_config,
num_ticks_per_slot,
num_slots_per_epoch,
@@ -154,14 +154,14 @@ fn test_restart_node() {
);
let nodes = cluster.get_node_ids();
cluster_tests::sleep_n_epochs(
1,
1.0,
&fullnode_config.tick_config,
timing::DEFAULT_TICKS_PER_SLOT,
slots_per_epoch,
);
cluster.restart_node(nodes[0]);
cluster_tests::sleep_n_epochs(
1,
0.5,
&fullnode_config.tick_config,
timing::DEFAULT_TICKS_PER_SLOT,
slots_per_epoch,