File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
yarn-project/end-to-end/src/e2e_p2p Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { TxHash } from '@aztec/aztec.js/tx';
55import { CheckpointNumber } from '@aztec/foundation/branded-types' ;
66import { Signature } from '@aztec/foundation/eth-signature' ;
77import { retryUntil } from '@aztec/foundation/retry' ;
8- import { sleep } from '@aztec/foundation/sleep' ;
98import type { ProverNode } from '@aztec/prover-node' ;
109import type { SequencerClient } from '@aztec/sequencer-client' ;
1110import { tryStop } from '@aztec/stdlib/interfaces/server' ;
@@ -64,7 +63,7 @@ describe('e2e_p2p_network', () => {
6463 startProverNode : false , // we'll start our own using p2p
6564 initialConfig : {
6665 ...SHORTENED_BLOCK_TIME_CONFIG_NO_PRUNES ,
67- aztecSlotDuration : 24 ,
66+ aztecSlotDuration : 36 ,
6867 aztecEpochDuration : 4 ,
6968 slashingRoundSizeInEpochs : 2 ,
7069 slashingQuorum : 5 ,
@@ -145,8 +144,8 @@ describe('e2e_p2p_network', () => {
145144 shouldCollectMetrics ( ) ,
146145 ) ;
147146
148- // wait a bit for peers to discover each other
149- await sleep ( 8000 ) ;
147+ t . logger . info ( 'Waiting for nodes to connect' ) ;
148+ await t . waitForP2PMeshConnectivity ( nodes , NUM_VALIDATORS ) ;
150149
151150 // We need to `createNodes` before we setup account, because
152151 // those nodes actually form the committee, and so we cannot build
You can’t perform that action at this time.
0 commit comments