1
0

[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
This commit is contained in:
Raymond Xu
2020-05-20 05:07:30 -07:00
committed by GitHub
parent 244d47494e
commit f802d4400b
2 changed files with 5 additions and 4 deletions

View File

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

View File

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