diff --git a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveTransactionalTable.java b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveTransactionalTable.java index d51aa798fb66..fbf11075f1e9 100644 --- a/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveTransactionalTable.java +++ b/testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestHiveTransactionalTable.java @@ -2146,10 +2146,10 @@ private static void compactTableAndWait(CompactionMode compactMode, String table log.info("Running %s compaction on %s", compactMode, tableName); Failsafe.with( - RetryPolicy.builder() - .withMaxDuration(java.time.Duration.ofMillis(timeout.toMillis())) - .withMaxAttempts(Integer.MAX_VALUE) // limited by MaxDuration - .build()) + RetryPolicy.builder() + .withMaxDuration(java.time.Duration.ofMillis(timeout.toMillis())) + .withMaxAttempts(Integer.MAX_VALUE) // limited by MaxDuration + .build()) .onFailure(event -> { throw new IllegalStateException(format("Could not compact table %s in %d retries", tableName, event.getAttemptCount()), event.getException()); })