Skip to content

Commit 082bdd1

Browse files
authored
chore: Bump wait timeouts in epochs e2e tests (#19232)
We were waiting for an epoch proof that takes about 60s (having to wait for the whole epoch to finish) with a 60s timeout.
2 parents a4b3fa5 + dac723c commit 082bdd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yarn-project/end-to-end/src/e2e_epochs/epochs_test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export class EpochsTestContext {
305305
}
306306

307307
/** Waits until the given checkpoint number is mined. */
308-
public async waitUntilCheckpointNumber(target: CheckpointNumber, timeout = 60) {
308+
public async waitUntilCheckpointNumber(target: CheckpointNumber, timeout = 120) {
309309
await retryUntil(
310310
() => Promise.resolve(target <= this.monitor.checkpointNumber),
311311
`Wait until checkpoint ${target}`,
@@ -315,7 +315,7 @@ export class EpochsTestContext {
315315
}
316316

317317
/** Waits until the given checkpoint number is marked as proven. */
318-
public async waitUntilProvenCheckpointNumber(target: CheckpointNumber, timeout = 60) {
318+
public async waitUntilProvenCheckpointNumber(target: CheckpointNumber, timeout = 120) {
319319
await retryUntil(
320320
() => Promise.resolve(target <= this.monitor.provenCheckpointNumber),
321321
`Wait proven checkpoint ${target}`,

0 commit comments

Comments
 (0)