Merge pull request #8151 from smatvienko-tb/fix/test-performace-fix

[3.5] Test performace fix
This commit is contained in:
Andrew Shvayka 2023-03-01 12:22:56 +02:00 committed by GitHub
commit baddd45d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 13 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

@ -67,4 +67,3 @@ sql.ttl.audit_logs.ttl=2592000
sql.edge_events.partition_size=168 sql.edge_events.partition_size=168
sql.ttl.edge_events.edge_event_ttl=2592000 sql.ttl.edge_events.edge_event_ttl=2592000
spring.test.context.cache.maxSize=1

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>