Skip to content

Commit

Permalink
fix wait
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaubennassar committed Nov 13, 2024
1 parent c9950df commit 0dc6163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l1infotreesync/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ func waitForSyncerToCatchUp(ctx context.Context, t *testing.T, syncer *l1infotre
lastBlockNum, err := client.Client().BlockNumber(ctx)
require.NoError(t, err)
helpers.RequireProcessorUpdated(t, syncer, lastBlockNum)
time.Sleep(time.Second / 2)
lastBlockNum2, err := client.Client().BlockNumber(ctx)
require.NoError(t, err)
time.Sleep(time.Second / 2)
if lastBlockNum == lastBlockNum2 {
return
}
Expand Down

0 comments on commit 0dc6163

Please sign in to comment.