BAEL-10672 Modules with Failing SpringContextTest

- Renamed SpringContextTest to SpringContextLiveTest for modules that had live component
- Fixed integration build due to issues in spring-cloud-data-flow pom.xml
This commit is contained in:
Dhawal Kapil 2019-08-10 14:52:25 +05:30
parent 86d70d7247
commit db411e34a8
13 changed files with 20 additions and 20 deletions

16
pom.xml
View File

@ -664,23 +664,23 @@
<module>spring-boot-libraries</module>
<!-- <module>spring-cloud</module> --> <!-- BAEL-14304 -->
<!-- <module>spring-cloud-bus</module> --> <!-- BAEL-14304 -->
<module>spring-cloud</module>
<module>spring-cloud-bus</module>
<!-- <module>spring-cloud-cli</module> --> <!-- Not a maven project -->
<!-- <module>spring-cloud-data-flow</module> --> <!-- BAEL-14304 -->
<module>spring-cloud-data-flow</module>
<module>spring-core</module>
<module>spring-core-2</module>
<module>spring-cucumber</module>
<module>spring-data-rest</module>
<!-- <module>spring-data-rest-querydsl</module> --> <!-- BAEL-14304 -->
<module>spring-data-rest-querydsl</module>
<module>spring-dispatcher-servlet</module>
<module>spring-drools</module>
<module>spring-di</module>
<module>spring-ehcache</module>
<!-- <module>spring-ejb</module> BAEL-14304 -->
<module>spring-ejb</module>
<module>spring-exceptions</module>
<module>spring-freemarker</module>
@ -752,7 +752,7 @@
<module>spring-security-stormpath</module>
<module>spring-security-thymeleaf</module>
<module>spring-security-x509</module>
<!-- <module>spring-session</module> BAEL-14304 -->
<module>spring-session</module>
<module>spring-sleuth</module>
<module>spring-soap</module>
<module>spring-social-login</module>
@ -763,10 +763,10 @@
<module>spring-thymeleaf</module>
<!-- <module>spring-vault</module> BAEL-14304 -->
<module>spring-vault</module>
<module>spring-vertx</module>
<!-- <module>spring-webflux-amqp</module> BAEL-14304 --> <!-- long -->
<module>spring-webflux-amqp</module> <!-- long -->
<module>spring-zuul</module>

View File

@ -9,7 +9,7 @@ import com.baeldung.SpringCloudConfigClientApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringCloudConfigClientApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void contextLoads() {

View File

@ -13,7 +13,7 @@
</parent>
<modules>
<module>spring-cloud-data-flow-stream</module>
<module>spring-cloud-data-flow-stream-processing</module>
<module>spring-cloud-data-flow-etl</module>
<module>batch-job</module>
<module>apache-spark-job</module>

View File

@ -8,7 +8,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = DataFlowServerApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -8,7 +8,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = DataFlowShellApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void contextLoads() {

View File

@ -7,7 +7,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -7,7 +7,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = VaultSampleApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -9,7 +9,7 @@ import com.baeldung.Application;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -9,7 +9,7 @@ import com.baeldung.springejbclient.SpringEjbClientApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringEjbClientApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -8,7 +8,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringSessionMongoDBApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -9,7 +9,7 @@ import com.baeldung.spring.session.SessionWebApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SessionWebApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -8,7 +8,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringVaultApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {

View File

@ -8,7 +8,7 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = SpringWebfluxAmqpApplication.class)
public class SpringContextTest {
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {