Skip to content

Commit

Permalink
increase timeout for acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Jul 12, 2024
1 parent 566d7c9 commit 37b93c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void setup() throws Exception {

@Test
void shouldPassMergeOptimisticallyAndBeginFinalizationAfterSafeSlotsToImport() throws Exception {
tekuNode2.waitForNonDefaultExecutionPayload();
tekuNode2.waitForNonDefaultExecutionPayload(10);
tekuNode2.waitForOptimisticBlock();

// Now make execution node sync and clarify switch from optimistic sync back to the normal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,10 @@ public void waitForMilestone(final SpecMilestone expectedMilestone) {
}

public void waitForNonDefaultExecutionPayload() {
waitForNonDefaultExecutionPayload(5);
}

public void waitForNonDefaultExecutionPayload(final int timeoutInMinutes) {
LOG.debug("Wait for a block containing a non default execution payload");

waitFor(
Expand All @@ -481,7 +485,7 @@ public void waitForNonDefaultExecutionPayload() {
LOG.debug(
"Non default execution payload found at slot " + bellatrixBlock.getMessage().slot);
},
5,
timeoutInMinutes,
MINUTES);
}

Expand Down

0 comments on commit 37b93c8

Please sign in to comment.