pvary commented on code in PR #11144:
URL: https://github.com/apache/iceberg/pull/11144#discussion_r1765376976


##########
flink/v1.20/flink/src/test/java/org/apache/iceberg/flink/maintenance/operator/TestLockRemover.java:
##########
@@ -135,15 +135,16 @@ void testMetrics() throws Exception {
         .setParallelism(1);
 
     JobClient jobClient = null;
+    long time = System.currentTimeMillis();
     try {
       jobClient = env.executeAsync();
       // Start the 2 successful and one failed result trigger for task1, and 3 
successful for task2
-      processAndCheck(source, new TaskResult(0, 0L, true, 
Lists.newArrayList()));
-      processAndCheck(source, new TaskResult(1, 1L, true, 
Lists.newArrayList()));
-      processAndCheck(source, new TaskResult(1, 2L, true, 
Lists.newArrayList()));
-      processAndCheck(source, new TaskResult(0, 3L, false, 
Lists.newArrayList()));
-      processAndCheck(source, new TaskResult(0, 4L, true, 
Lists.newArrayList()));
-      processAndCheck(source, new TaskResult(1, 5L, true, 
Lists.newArrayList()));
+      processAndCheck(source, new TaskResult(0, time, true, 
Lists.newArrayList()));

Review Comment:
   Yeah... sorry for the confusion



-- 
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...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to