the-other-tim-brown commented on code in PR #10122:
URL: https://github.com/apache/hudi/pull/10122#discussion_r1398108329


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/TestWriteMergeOnReadWithCompact.java:
##########
@@ -159,6 +159,8 @@ public void 
testNonBlockingConcurrencyControlWithPartialUpdatePayload() throws E
     // because the data files belongs 3rd commit is not included in the last 
compaction.
     Map<String, String> readOptimizedResult = Collections.singletonMap("par1", 
"[id1,par1,id1,Danny,23,2,par1]");
     TestData.checkWrittenData(tempFile, readOptimizedResult, 1);
+    pipeline1.end();
+    pipeline2.end();

Review Comment:
   This is to properly close the write clients. Is there a better way to do 
this in the tests? It's my first time working in the flink tests



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