From 8c18c82bd82bc1c2a06c1e134e12e6e99d600c83 Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Mon, 29 Jan 2024 10:16:09 +0700 Subject: [PATCH] fix: do not use worker thread for n-historical state e2e test --- .../test/e2e/chain/stateCache/nHistoricalStates.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/beacon-node/test/e2e/chain/stateCache/nHistoricalStates.test.ts b/packages/beacon-node/test/e2e/chain/stateCache/nHistoricalStates.test.ts index 35715f141002..300b39b027de 100644 --- a/packages/beacon-node/test/e2e/chain/stateCache/nHistoricalStates.test.ts +++ b/packages/beacon-node/test/e2e/chain/stateCache/nHistoricalStates.test.ts @@ -276,7 +276,7 @@ describe( params: testParams, options: { sync: {isSingleNode: true}, - network: {allowPublishToZeroPeers: true, mdns: true}, + network: {allowPublishToZeroPeers: true, mdns: true, useWorker: false}, // run the first bn with ReorgedForkChoice, no nHistoricalStates flag so it does not have to reload chain: { blsVerifyAllMainThread: true, @@ -296,7 +296,7 @@ describe( params: testParams, options: { api: {rest: {enabled: false}}, - network: {mdns: true}, + network: {mdns: true, useWorker: false}, // run the 2nd bn with nHistoricalStates flag and the configured maxBlockStates, maxCPStateEpochsInMemory chain: { blsVerifyAllMainThread: true,