Skip to content

Commit 1765f4e

Browse files
committed
Ensure that server tests run when test apps have changed
Closes gh-19858
1 parent c1f2efe commit 1765f4e

File tree

1 file changed

+11
-0
lines changed
  • spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests

1 file changed

+11
-0
lines changed

spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,16 @@ task buildApps(type: GradleBuild) {
5858
}
5959

6060
intTest {
61+
inputs.files(
62+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-jetty.jar",
63+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-jetty.war",
64+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-resources.jar",
65+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-tomcat.jar",
66+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-tomcat.war",
67+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-undertow.jar",
68+
"${buildDir}/spring-boot-server-tests-app/build/libs/spring-boot-server-tests-app-undertow.war")
69+
.withPropertyName("applicationArchives")
70+
.withPathSensitivity(PathSensitivity.RELATIVE)
71+
.withNormalizer(ClasspathNormalizer)
6172
dependsOn buildApps
6273
}

0 commit comments

Comments
 (0)