From 7025b0fb9355805a95c80268f85df6318ceb2913 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 26 Jan 2021 09:37:39 +0200 Subject: [PATCH] test: add test for @SpringBootTest (#715) * Add test * clarify the test * test renaming * ignore the newly added test to verify the CI build failed by it * Revert "ignore the newly added test to verify the CI build failed by it" This reverts commit 67d2b025cdac63caa9a663d8258736f9dfb6e1a1. * use a different port for the vaadin-test-spring-white-list module * use a different jmx port for the test-ts-services module * Revert "use a different jmx port for the test-ts-services module" This reverts commit 0eca71c50810b632b4d97ed5d2707fc8f16d8003. Co-authored-by: haijian --- vaadin-spring-tests/pom.xml | 5 +++++ .../test-spring-white-list/pom.xml | 1 + .../vaadin/flow/connect/SpringBootTestTest.java | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 vaadin-spring-tests/test-ts-services/src/test/java/com/vaadin/flow/connect/SpringBootTestTest.java diff --git a/vaadin-spring-tests/pom.xml b/vaadin-spring-tests/pom.xml index 5a12c6b9c..1897a699c 100644 --- a/vaadin-spring-tests/pom.xml +++ b/vaadin-spring-tests/pom.xml @@ -74,6 +74,11 @@ javax.servlet-api provided + + org.springframework.boot + spring-boot-starter-test + test + diff --git a/vaadin-spring-tests/test-spring-white-list/pom.xml b/vaadin-spring-tests/test-spring-white-list/pom.xml index 70399f0f2..594b382c6 100644 --- a/vaadin-spring-tests/test-spring-white-list/pom.xml +++ b/vaadin-spring-tests/test-spring-white-list/pom.xml @@ -115,6 +115,7 @@ 100 2500 + 9009