zentol commented on code in PR #21127:
URL: https://github.com/apache/flink/pull/21127#discussion_r1001199344


##########
flink-clients/src/test/java/org/apache/flink/client/cli/CliFrontendListTest.java:
##########
@@ -28,21 +28,100 @@
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.junit.jupiter.api.Test;
-import org.mockito.Mockito;
 
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.List;
 import java.util.concurrent.CompletableFuture;
+import java.util.stream.Collectors;
 
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;
+import static org.mockito.Mockito.verify;
 import static org.mockito.Mockito.when;
 
 /** Tests for the LIST command. */
 class CliFrontendListTest extends CliFrontendTestBase {
 
+    private static final List<Long> TRICKY_START_TIMES =
+            Arrays.asList(
+                    1664177946934L,

Review Comment:
   From what I found you need 32 elements for the sort to _fail with an 
exception_, but you can use less elements and end up with an unsorted list.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to