From a668e4399655af513b0d90e0be694dad2448e6cd Mon Sep 17 00:00:00 2001 From: Bowen Wang Date: Wed, 26 May 2021 18:39:22 -0700 Subject: [PATCH] fix: test_consensus_with_epoch_switches (#4320) Fix `test_consensus_with_epoch_switches by increasing timeout. Test plan --------- http://nayduck.eastus.cloudapp.azure.com:3000/#/run/1622 --- chain/client/tests/consensus.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/client/tests/consensus.rs b/chain/client/tests/consensus.rs index 257c3ccfebe..5398f667086 100644 --- a/chain/client/tests/consensus.rs +++ b/chain/client/tests/consensus.rs @@ -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)); }); } }