gaoyunhaii commented on a change in pull request #7368: [FLINK-10742][network] 
Let Netty use Flink's buffers directly in credit-based mode
URL: https://github.com/apache/flink/pull/7368#discussion_r386796843
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/netty/CreditBasedPartitionRequestClientHandlerTest.java
 ##########
 @@ -339,7 +368,11 @@ public void testNotifyCreditAvailable() throws Exception {
 
                        // Trigger notify credits availability via buffer 
response on the condition of an un-writable channel
                        final BufferResponse bufferResponse3 = 
createBufferResponse(
-                               TestBufferFactory.createBuffer(32), 1, 
inputChannel1.getInputChannelId(), 1);
+                               TestBufferFactory.createBuffer(32),
+                               1,
+                               inputChannel1.getInputChannelId(),
+                               1,
+                               new NetworkBufferAllocator(handler));
 
 Review comment:
   Changed to using the same allocator.

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


With regards,
Apache Git Services

Reply via email to