This is an automated email from the ASF dual-hosted git repository.

vinoth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new f802d44  [MINOR] Fix resource cleanup in TestTableSchemaEvolution 
(#1640)
f802d44 is described below

commit f802d4400b14a4b11be6f6a1b758e1bb6fbb62a3
Author: Raymond Xu <2701446+xushi...@users.noreply.github.com>
AuthorDate: Wed May 20 05:07:30 2020 -0700

    [MINOR] Fix resource cleanup in TestTableSchemaEvolution (#1640)
    
    - Remove Xms it is not needed.
    - extending process exit timeout from 30 to 120 sec should be safe to do
---
 .../test/java/org/apache/hudi/client/TestTableSchemaEvolution.java  | 6 +++---
 pom.xml                                                             | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/hudi-client/src/test/java/org/apache/hudi/client/TestTableSchemaEvolution.java
 
b/hudi-client/src/test/java/org/apache/hudi/client/TestTableSchemaEvolution.java
index f9e59c9..d3081e8 100644
--- 
a/hudi-client/src/test/java/org/apache/hudi/client/TestTableSchemaEvolution.java
+++ 
b/hudi-client/src/test/java/org/apache/hudi/client/TestTableSchemaEvolution.java
@@ -75,13 +75,13 @@ public class TestTableSchemaEvolution extends 
TestHoodieClientBase {
       + TRIP_SCHEMA_SUFFIX;
 
   @BeforeEach
-  public void setUp() throws Exception {
+  public void setUp() throws IOException {
     initResources();
   }
 
   @AfterEach
-  public void tearDown() {
-    cleanupSparkContexts();
+  public void tearDown() throws IOException {
+    cleanupResources();
   }
 
   @Test
diff --git a/pom.xml b/pom.xml
index b2792f0..9fe27d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -245,7 +245,8 @@
         <version>${maven-surefire-plugin.version}</version>
         <configuration>
           <skip>${skipUTs}</skip>
-          <argLine>-Xms256m -Xmx2g</argLine>
+          <argLine>-Xmx2g</argLine>
+          
<forkedProcessExitTimeoutInSeconds>120</forkedProcessExitTimeoutInSeconds>
           <systemPropertyVariables>
             <log4j.configuration>
               ${surefire-log4j.file}

Reply via email to