Browse Source
Merge pull request #8151 from smatvienko-tb/fix/test-performace-fix
[3.5] Test performace fix
pull/8162/head
Andrew Shvayka
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
1 additions and
13 deletions
-
application/src/test/java/org/thingsboard/server/controller/AbstractWebTest.java
-
application/src/test/resources/application-test.properties
-
pom.xml
|
|
|
@ -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"); |
|
|
|
|
|
|
|
@ -67,4 +67,3 @@ sql.ttl.audit_logs.ttl=2592000 |
|
|
|
|
|
|
|
sql.edge_events.partition_size=168 |
|
|
|
sql.ttl.edge_events.edge_event_ttl=2592000 |
|
|
|
spring.test.context.cache.maxSize=1 |
|
|
|
@ -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> |
|
|
|
|