From 1b87ef48f683f97678cad148fdf3774b9f417c4b Mon Sep 17 00:00:00 2001 From: Mitch Date: Thu, 31 Oct 2024 13:25:37 -0400 Subject: [PATCH] bump the sleep back to 3 epochs. --- yarn-project/end-to-end/src/spartan/reorg.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/src/spartan/reorg.test.ts b/yarn-project/end-to-end/src/spartan/reorg.test.ts index 0847637b10a..d3a591c9cb0 100644 --- a/yarn-project/end-to-end/src/spartan/reorg.test.ts +++ b/yarn-project/end-to-end/src/spartan/reorg.test.ts @@ -86,9 +86,9 @@ describe('reorg test', () => { debugLogger.info(stdout); // We only need 2 epochs for a reorg to be triggered, but 3 gives time for the bot to be restarted and the chain to re-stabilize - // TODO(#9613): why do we need to wait for 2 epochs? - debugLogger.info(`Waiting for 2 epochs to pass`); - await sleep(AZTEC_EPOCH_DURATION * AZTEC_SLOT_DURATION * 2 * 1000); + // TODO(#9613): why do we need to wait for 3 epochs? + debugLogger.info(`Waiting for 3 epochs to pass`); + await sleep(AZTEC_EPOCH_DURATION * AZTEC_SLOT_DURATION * 3 * 1000); // TODO(#9327): begin delete // The bot must be restarted because the PXE does not handle reorgs without a restart.