c-f-cooper commented on code in PR #8596:
URL: https://github.com/apache/hudi/pull/8596#discussion_r1184493448


##########
hudi-cli/src/test/java/org/apache/hudi/cli/commands/TestRepairsCommand.java:
##########
@@ -234,6 +234,30 @@ public void testOverwriteHoodieProperties() throws 
IOException {
     assertEquals(expect, got);
   }
 
+  @Test
+  public void testOverwriteHoodiePropertiesWithInputStreamFix() throws 
IOException {
+    RepairsCommand command = new RepairsCommand();
+    URL newProps = 
this.getClass().getClassLoader().getResource("table-config.properties");

Review Comment:
   When i call the method testOverwriteHoodiePropertiesWithInputStreamFix,they 
will call method overwriteHoodieProperties,so the changes closed input stream 
with resource will be tested.
   



-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to