[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:
@@ -75,13 +75,13 @@ public class TestTableSchemaEvolution extends TestHoodieClientBase {
|
|||||||
+ TRIP_SCHEMA_SUFFIX;
|
+ TRIP_SCHEMA_SUFFIX;
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws IOException {
|
||||||
initResources();
|
initResources();
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterEach
|
@AfterEach
|
||||||
public void tearDown() {
|
public void tearDown() throws IOException {
|
||||||
cleanupSparkContexts();
|
cleanupResources();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
3
pom.xml
3
pom.xml
@@ -245,7 +245,8 @@
|
|||||||
<version>${maven-surefire-plugin.version}</version>
|
<version>${maven-surefire-plugin.version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<skip>${skipUTs}</skip>
|
<skip>${skipUTs}</skip>
|
||||||
<argLine>-Xms256m -Xmx2g</argLine>
|
<argLine>-Xmx2g</argLine>
|
||||||
|
<forkedProcessExitTimeoutInSeconds>120</forkedProcessExitTimeoutInSeconds>
|
||||||
<systemPropertyVariables>
|
<systemPropertyVariables>
|
||||||
<log4j.configuration>
|
<log4j.configuration>
|
||||||
${surefire-log4j.file}
|
${surefire-log4j.file}
|
||||||
|
|||||||
Reference in New Issue
Block a user