zhijiangW commented on a change in pull request #8416: [FLINK-12331] Introduce
partition/gate setup to decouple task registration with NetworkEnvironment
URL: https://github.com/apache/flink/pull/8416#discussion_r283204692
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/consumer/RemoteInputChannelTest.java
##########
@@ -992,16 +993,37 @@ public void testConcurrentRecycleAndRelease2() throws
Exception {
//
---------------------------------------------------------------------------------------------
private RemoteInputChannel createRemoteInputChannel(SingleInputGate
inputGate)
- throws IOException, InterruptedException {
+ throws IOException, InterruptedException {
+
+ return createRemoteInputChannel(inputGate,
InputChannelTestUtils.StubMemorySegmentProvider.getInstance());
+ }
- return createRemoteInputChannel(inputGate,
mock(PartitionRequestClient.class), 0, 0);
+ private RemoteInputChannel createRemoteInputChannel(
+ SingleInputGate inputGate,
+ MemorySegmentProvider memorySegmentProvider)
+ throws IOException, InterruptedException {
+
+ return createRemoteInputChannel(
+ inputGate, mock(PartitionRequestClient.class),
0, 0, memorySegmentProvider);
+ }
+
+ private RemoteInputChannel createRemoteInputChannel(
+ SingleInputGate inputGate,
+ PartitionRequestClient partitionRequestClient,
+ int initialBackOff,
Review comment:
lowercase `off` to keep consistent with maxBackoff?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services