snuyanzin commented on code in PR #39:
URL: 
https://github.com/apache/flink-connector-hive/pull/39#discussion_r3240270181


##########
flink-connector-hive/src/test/java/org/apache/flink/connectors/hive/util/HivePartitionUtilsTest.java:
##########
@@ -37,15 +36,17 @@
 import static org.assertj.core.api.Assertions.assertThat;
 
 /** Test for {@link HivePartitionUtils}. */
-public class HivePartitionUtilsTest {
+class HivePartitionUtilsTest {
 
-    @Rule public final TemporaryFolder temporaryFolder = new TemporaryFolder();
+    @TempDir private Path temporaryFolder;
 
     @Test
-    public void testHiveTablePartitionSerDe() throws Exception {
+    void testHiveTablePartitionSerDe() throws Exception {
         String baseFilePath =
                 
Objects.requireNonNull(this.getClass().getResource("/orc/test.orc")).getPath();
-        File wareHouse = 
temporaryFolder.newFolder("testHiveTablePartitionSerDe");
+        File wareHouse =
+                
Files.createDirectories(temporaryFolder.resolve("testHiveTablePartitionSerDe"))
+                        .toFile();

Review Comment:
   didn't we mention it in prev review iteration?



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