zhijiangW commented on a change in pull request #7713: [FLINK-10995][network] 
Copy intermediate serialization results only once for broadcast mode
URL: https://github.com/apache/flink/pull/7713#discussion_r263293024
 
 

 ##########
 File path: 
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
 ##########
 @@ -196,10 +198,152 @@ public void testSerializerClearedAfterClearBuffers() 
throws Exception {
        }
 
        /**
-        * Tests broadcasting events when no records have been emitted yet.
+        * Tests broadcasting events when no records have been emitted yet in 
{@link BroadcastRecordWriter}.
         */
        @Test
-       public void testBroadcastEventNoRecords() throws Exception {
+       public void testBroadcastWriterBroadcastEventNoRecord() throws 
Exception {
 
 Review comment:
   Thanks for the suggestion! I would have a try and it could be better if all 
the existing tests are suitable for both `BroadcastRecordWriter` and 
`RecordWriter. :)

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