bytesandwich commented on a change in pull request #15017:
URL: https://github.com/apache/flink/pull/15017#discussion_r583280790



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/rest/messages/JobVertexDetailsInfoTest.java
##########
@@ -83,10 +83,12 @@ protected JobVertexDetailsInfo getTestResponseInstance() 
throws Exception {
                         jobVertexMetrics,
                         "taskmanagerId3"));
 
+        int parallelism = random.nextInt();
         return new JobVertexDetailsInfo(
                 new JobVertexID(),
                 "jobVertex" + random.nextLong(),
-                random.nextInt(),
+                parallelism,
+                2 * parallelism,

Review comment:
       Good point!




----------------------------------------------------------------
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.

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


Reply via email to