zhuzhurk commented on a change in pull request #18130:
URL: https://github.com/apache/flink/pull/18130#discussion_r785635577



##########
File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGateTest.java
##########
@@ -645,13 +616,13 @@ public void testRequestBackoffConfiguration() throws 
Exception {
                                     throw new RuntimeException(e);
                                 }
                             });
-            InputChannel localChannel = channelMap.get(partitionIds[0]);
+            InputChannel localChannel = channelMap.get(new 
SubpartitionInfo(partitionIds[0], 0));

Review comment:
       It's better to create a testing method 
`createSubpartitionInfo(partitionId)`.




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


Reply via email to