Skip to content

Commit

Permalink
Disable workers for e2e test runs (#4325)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Jul 18, 2022
1 parent fdd4c6b commit 938032c
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 4 deletions.
Expand Up @@ -42,6 +42,7 @@ describe("lodestar / api / impl / state", function () {
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: true, port: restPort}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
Expand Down Expand Up @@ -76,6 +77,7 @@ describe("lodestar / api / impl / state", function () {
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: true, port: restPort}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
Expand Down
2 changes: 2 additions & 0 deletions packages/beacon-node/test/e2e/api/lodestar/lodestar.test.ts
Expand Up @@ -49,6 +49,7 @@ describe("api / impl / validator", function () {
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: true, api: ["lodestar"], port: restPort}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
Expand Down Expand Up @@ -96,6 +97,7 @@ describe("api / impl / validator", function () {
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: true, api: ["lodestar"], port: restPort}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
Expand Down
1 change: 1 addition & 0 deletions packages/beacon-node/test/e2e/chain/lightclient.test.ts
Expand Up @@ -73,6 +73,7 @@ describe("chain / lightclient", function () {
sync: {isSingleNode: true},
network: {allowPublishToZeroPeers: true},
api: {rest: {enabled: true, api: ["lightclient"], port: restPort, address: "localhost"}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount: validatorCount * validatorClientCount,
genesisTime,
Expand Down
Expand Up @@ -56,7 +56,11 @@ describe.skip("doppelganger / doppelganger test", function () {

const bn = await getDevBeaconNode({
params: beaconParams,
options: {sync: {isSingleNode: true}, api: {rest: {enabled: false}}},
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: false}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
genesisTime: config?.genesisTime,
Expand Down
1 change: 1 addition & 0 deletions packages/beacon-node/test/e2e/sync/endpoint.test.ts
Expand Up @@ -40,6 +40,7 @@ describe("lodestar / sync", function () {
options: {
sync: {isSingleNode: true},
api: {rest: {enabled: true, port: restPort}},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
Expand Down
6 changes: 5 additions & 1 deletion packages/beacon-node/test/e2e/sync/finalizedSync.test.ts
Expand Up @@ -38,7 +38,11 @@ describe("sync / finalized sync", function () {

const bn = await getDevBeaconNode({
params: beaconParams,
options: {sync: {isSingleNode: true}, network: {allowPublishToZeroPeers: true}},
options: {
sync: {isSingleNode: true},
network: {allowPublishToZeroPeers: true},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
genesisTime,
logger: loggerNodeA,
Expand Down
12 changes: 10 additions & 2 deletions packages/beacon-node/test/e2e/sync/unknownBlockSync.test.ts
Expand Up @@ -48,7 +48,11 @@ describe("sync / unknown block sync", function () {

const bn = await getDevBeaconNode({
params: testParams,
options: {sync: {isSingleNode: true}, network: {allowPublishToZeroPeers: true}},
options: {
sync: {isSingleNode: true},
network: {allowPublishToZeroPeers: true},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
logger: loggerNodeA,
});
Expand All @@ -74,7 +78,11 @@ describe("sync / unknown block sync", function () {

const bn2 = await getDevBeaconNode({
params: testParams,
options: {api: {rest: {enabled: false}}, sync: {disableRangeSync: true}},
options: {
api: {rest: {enabled: false}},
sync: {disableRangeSync: true},
chain: {blsVerifyAllMainThread: true},
},
validatorCount,
genesisTime: bn.chain.getHeadState().genesisTime,
logger: loggerNodeB,
Expand Down
2 changes: 2 additions & 0 deletions packages/beacon-node/test/e2e/sync/wss.test.ts
Expand Up @@ -60,6 +60,7 @@ describe("Start from WSS", function () {
},
sync: {isSingleNode: true},
network: {allowPublishToZeroPeers: true},
chain: {blsVerifyAllMainThread: true},
},
validatorCount: 32,
logger: loggerNodeA,
Expand Down Expand Up @@ -99,6 +100,7 @@ describe("Start from WSS", function () {
options: {
api: {rest: {enabled: true, port: 9587} as BeaconRestApiServerOpts},
sync: {isSingleNode: true, backfillBatchSize: 64},
chain: {blsVerifyAllMainThread: true},
},
validatorCount: 32,
logger: loggerNodeB,
Expand Down

0 comments on commit 938032c

Please sign in to comment.