[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;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() throws Exception {
|
||||
public void setUp() throws IOException {
|
||||
initResources();
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void tearDown() {
|
||||
cleanupSparkContexts();
|
||||
public void tearDown() throws IOException {
|
||||
cleanupResources();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
3
pom.xml
3
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}
|
||||
|
||||
Reference in New Issue
Block a user