XComp commented on a change in pull request #18569:
URL: https://github.com/apache/flink/pull/18569#discussion_r795883653
##########
File path: flink-core/src/test/java/org/apache/flink/testutils/TestingUtils.java
##########
@@ -56,4 +56,9 @@ public static ScheduledExecutor defaultScheduledExecutor() {
public static UUID zeroUUID() {
return ZERO_UUID;
}
+
+ public static Duration infiniteDuration() {
+ // a year should be more than enough for simulating an infinite
duration
+ return Duration.ofDays(365L);
Review comment:
I see... could we add the reasoning to the comment then to make that
clearer?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]