Skip to content

Commit

Permalink
Fix AT_MOST interval to leave time for real networks
Browse files Browse the repository at this point in the history
  • Loading branch information
sappenin committed Dec 3, 2024
1 parent 85ee68d commit 58a39ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
public abstract class AbstractIT {

public static final Duration POLL_INTERVAL = Durations.ONE_HUNDRED_MILLISECONDS;
public static final Duration AT_MOST_INTERVAL = Duration.of(5, ChronoUnit.SECONDS);
public static final Duration AT_MOST_INTERVAL = Duration.of(30, ChronoUnit.SECONDS);
public static final String SUCCESS_STATUS = TransactionResultCodes.TES_SUCCESS;

protected static XrplEnvironment xrplEnvironment = XrplEnvironment.getNewConfiguredEnvironment();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ private void assertThatEntryEqualsObjectFromAccountObjects(OfferObject offerObje
*/
private void assertEmptyResults(Supplier<Collection<?>> supplier) {
Awaitility.await()
.atMost(Durations.TEN_SECONDS)
.atMost(AT_MOST_INTERVAL)
.until(supplier::get, Matchers.empty());
}

Expand Down

0 comments on commit 58a39ce

Please sign in to comment.