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_r285009881
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/NetworkEnvironmentTest.java
##########
@@ -63,35 +64,31 @@
public ExpectedException expectedException = ExpectedException.none();
/**
- * Verifies that {@link NetworkEnvironment#registerTask(Task)} sets up
(un)bounded buffer pool
+ * Verifies that {@link
Task#setupPartionsAndGates(ResultPartitionWriter[], InputGate[])}} sets up
(un)bounded buffer pool
* instances for various types of input and output channels.
*/
@Test
public void testRegisterTaskUsesBoundedBuffers() throws Exception {
final NetworkEnvironment network = new
NetworkEnvironmentBuilder()
.setIsCreditBased(enableCreditBasedFlowControl)
+ .setNetworkBuffersPerChannel(2)
Review comment:
It is not necessary because the default value is 2 in
`NetworkEnvironmentBuilder`
----------------------------------------------------------------
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