JAVA-15788 Optimizations to reduce default build execution time
This commit is contained in:
parent
69ff3c0c3b
commit
69d6ca9b62
@ -68,28 +68,6 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<version>${maven-assembly-plugin.version}</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<descriptorRefs>
|
|
||||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
||||||
</descriptorRefs>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>SparkPackagesRepo</id>
|
<id>SparkPackagesRepo</id>
|
||||||
|
@ -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;
|
@ -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…
x
Reference in New Issue
Block a user