Merge pull request #12955 from dkapil/task/JAVA-15788

JAVA-15788 Optimizations to reduce default build execution time
This commit is contained in:
Loredana Crusoveanu 2022-11-07 09:48:13 +02:00 committed by GitHub
commit d10c65f9b4
3 changed files with 10 additions and 5 deletions

View File

@ -17,7 +17,7 @@ import com.baeldung.partialupdate.service.CustomerService;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = PartialUpdateApplication.class)
public class PartialUpdateUnitTest {
public class PartialUpdateIntegrationTest {
@Autowired
CustomerService service;

View File

@ -345,7 +345,6 @@
<module>apache-poi</module>
<module>apache-poi-2</module>
<module>apache-rocketmq</module>
<module>apache-spark</module>
<module>apache-thrift</module>
<module>apache-tika</module>
<module>apache-velocity</module>
@ -682,6 +681,8 @@
<module>parent-spring-5</module>
<module>parent-java</module>
<module>apache-spark</module>
<module>image-processing</module>
<module>jenkins/plugins</module>
@ -749,7 +750,6 @@
<module>apache-poi</module>
<module>apache-poi-2</module>
<module>apache-rocketmq</module>
<module>apache-spark</module>
<module>apache-thrift</module>
<module>apache-tika</module>
<module>apache-velocity</module>
@ -958,7 +958,7 @@
<module>spring-caching</module>
<module>spring-caching-2</module>
<module>spring-cloud-modules</module>
<!-- <module>spring-cloud-cli</module> --> <!-- Not a maven project -->
@ -1069,6 +1069,8 @@
<module>parent-spring-5</module>
<module>parent-java</module>
<module>apache-spark</module>
<module>image-processing</module>
<module>jenkins/plugins</module>

View File

@ -15,9 +15,12 @@ import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.ResultMatcher;
/**
* Test need to pause the main thread for up to 60 seconds
*/
@SpringBootTest
@AutoConfigureMockMvc
public class ConcurrentRequestUnitTest {
public class ConcurrentRequestManualTest {
@Autowired
private MockMvc mockMvc;