diff --git a/packages/lodestar/test/perf/chain/opPools/aggregatedAttestationPool.test.ts b/packages/lodestar/test/perf/chain/opPools/aggregatedAttestationPool.test.ts index 778f87383dfc..673345149a45 100644 --- a/packages/lodestar/test/perf/chain/opPools/aggregatedAttestationPool.test.ts +++ b/packages/lodestar/test/perf/chain/opPools/aggregatedAttestationPool.test.ts @@ -24,7 +24,9 @@ describe("getAttestationsForBlock", () => { let originalState: allForks.CachedBeaconState; - before(() => { + before(function () { + this.timeout(2 * 60 * 1000); // Generating the states for the first time is very slow + originalState = (generatePerfTestCachedStateAltair({ goBackOneSlot: true, }) as unknown) as allForks.CachedBeaconState;