tests: fixed test performance degradation (100% C2 Compiler) by removing -Xss384k and Mockito.clearAllCaches()
This commit is contained in:
parent
0ba8336ee9
commit
1bf579288a
@ -211,17 +211,6 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest {
|
||||
this.mappingJackson2HttpMessageConverter);
|
||||
}
|
||||
|
||||
@BeforeClass
|
||||
public static void beforeWebTestClass() throws Exception {
|
||||
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
public static void afterWebTestClass() throws Exception {
|
||||
Mockito.clearAllCaches();
|
||||
}
|
||||
|
||||
|
||||
@Before
|
||||
public void setupWebTest() throws Exception {
|
||||
log.debug("Executing web test setup");
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -659,7 +659,7 @@
|
||||
<version>${surefire.version}</version>
|
||||
<configuration>
|
||||
<argLine>
|
||||
--illegal-access=permit -Xss384k -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=20
|
||||
--illegal-access=permit -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=20
|
||||
</argLine>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user