Skip to content

Commit

Permalink
fix: test_consensus_with_epoch_switches (#4320)
Browse files Browse the repository at this point in the history
Fix `test_consensus_with_epoch_switches by increasing timeout.

Test plan
---------
http://nayduck.eastus.cloudapp.azure.com:3000/#/run/1622
  • Loading branch information
bowenwang1996 authored May 27, 2021
1 parent 322f6d8 commit a668e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/client/tests/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ mod tests {
);
*connectors.write().unwrap() = conn;

// We only check the terminating condition once every 20 heights, thus extra 20 to
// We only check the terminating condition once every 20 heights, thus extra 80 to
// account for possibly going beyond the HEIGHT_GOAL.
near_network::test_utils::wait_or_panic(3000 * (20 + HEIGHT_GOAL));
near_network::test_utils::wait_or_panic(3000 * (80 + HEIGHT_GOAL));
});
}
}

0 comments on commit a668e43

Please sign in to comment.