Merge pull request #12955 from dkapil/task/JAVA-15788
JAVA-15788 Optimizations to reduce default build execution time
This commit is contained in:
commit
d10c65f9b4
|
@ -17,7 +17,7 @@ import com.baeldung.partialupdate.service.CustomerService;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(classes = PartialUpdateApplication.class)
|
@SpringBootTest(classes = PartialUpdateApplication.class)
|
||||||
public class PartialUpdateUnitTest {
|
public class PartialUpdateIntegrationTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
CustomerService service;
|
CustomerService service;
|
6
pom.xml
6
pom.xml
|
@ -345,7 +345,6 @@
|
||||||
<module>apache-poi</module>
|
<module>apache-poi</module>
|
||||||
<module>apache-poi-2</module>
|
<module>apache-poi-2</module>
|
||||||
<module>apache-rocketmq</module>
|
<module>apache-rocketmq</module>
|
||||||
<module>apache-spark</module>
|
|
||||||
<module>apache-thrift</module>
|
<module>apache-thrift</module>
|
||||||
<module>apache-tika</module>
|
<module>apache-tika</module>
|
||||||
<module>apache-velocity</module>
|
<module>apache-velocity</module>
|
||||||
|
@ -682,6 +681,8 @@
|
||||||
<module>parent-spring-5</module>
|
<module>parent-spring-5</module>
|
||||||
<module>parent-java</module>
|
<module>parent-java</module>
|
||||||
|
|
||||||
|
<module>apache-spark</module>
|
||||||
|
|
||||||
<module>image-processing</module>
|
<module>image-processing</module>
|
||||||
|
|
||||||
<module>jenkins/plugins</module>
|
<module>jenkins/plugins</module>
|
||||||
|
@ -749,7 +750,6 @@
|
||||||
<module>apache-poi</module>
|
<module>apache-poi</module>
|
||||||
<module>apache-poi-2</module>
|
<module>apache-poi-2</module>
|
||||||
<module>apache-rocketmq</module>
|
<module>apache-rocketmq</module>
|
||||||
<module>apache-spark</module>
|
|
||||||
<module>apache-thrift</module>
|
<module>apache-thrift</module>
|
||||||
<module>apache-tika</module>
|
<module>apache-tika</module>
|
||||||
<module>apache-velocity</module>
|
<module>apache-velocity</module>
|
||||||
|
@ -1069,6 +1069,8 @@
|
||||||
<module>parent-spring-5</module>
|
<module>parent-spring-5</module>
|
||||||
<module>parent-java</module>
|
<module>parent-java</module>
|
||||||
|
|
||||||
|
<module>apache-spark</module>
|
||||||
|
|
||||||
<module>image-processing</module>
|
<module>image-processing</module>
|
||||||
|
|
||||||
<module>jenkins/plugins</module>
|
<module>jenkins/plugins</module>
|
||||||
|
|
|
@ -15,9 +15,12 @@ import org.springframework.boot.test.context.SpringBootTest;
|
||||||
import org.springframework.test.web.servlet.MockMvc;
|
import org.springframework.test.web.servlet.MockMvc;
|
||||||
import org.springframework.test.web.servlet.ResultMatcher;
|
import org.springframework.test.web.servlet.ResultMatcher;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test need to pause the main thread for up to 60 seconds
|
||||||
|
*/
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
@AutoConfigureMockMvc
|
@AutoConfigureMockMvc
|
||||||
public class ConcurrentRequestUnitTest {
|
public class ConcurrentRequestManualTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
Loading…
Reference in New Issue