JAVA-15788 Optimizations to reduce default build execution time

This commit is contained in:
Dhawal Kapil 2022-10-31 01:42:11 +05:30
parent 69ff3c0c3b
commit 69d6ca9b62
3 changed files with 5 additions and 24 deletions

View File

@ -68,28 +68,6 @@
</dependency>
</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>
<repository>
<id>SparkPackagesRepo</id>

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

@ -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;