You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "c-f-cooper (via GitHub)" <gi...@apache.org> on 2023/05/04 06:28:49 UTC

[GitHub] [hudi] c-f-cooper commented on a diff in pull request #8596: [MINOR] Use try with resource to close stream

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


##########
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:
   sorry,I don't understand how to validate,and how to get rid of these UTs,can you help me?



-- 
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-unsubscribe@hudi.apache.org

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