tests: fixed test performance degradation (100% C2 Compiler) by removing -Xss384k and Mockito.clearAllCaches()

This commit is contained in:
Sergey Matvienko 2023-03-01 01:05:19 +01:00
parent 0ba8336ee9
commit 1bf579288a
2 changed files with 1 additions and 12 deletions

View File

@ -211,17 +211,6 @@ public abstract class AbstractWebTest extends AbstractInMemoryStorageTest {
this.mappingJackson2HttpMessageConverter); this.mappingJackson2HttpMessageConverter);
} }
@BeforeClass
public static void beforeWebTestClass() throws Exception {
}
@AfterClass
public static void afterWebTestClass() throws Exception {
Mockito.clearAllCaches();
}
@Before @Before
public void setupWebTest() throws Exception { public void setupWebTest() throws Exception {
log.debug("Executing web test setup"); log.debug("Executing web test setup");

View File

@ -659,7 +659,7 @@
<version>${surefire.version}</version> <version>${surefire.version}</version>
<configuration> <configuration>
<argLine> <argLine>
--illegal-access=permit -Xss384k -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=20 --illegal-access=permit -XX:+UseStringDeduplication -XX:MaxGCPauseMillis=20
</argLine> </argLine>
</configuration> </configuration>
</plugin> </plugin>