From 6be5dbc034643b469874ea4e4de23a56cd638b12 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 17 May 2024 10:35:26 +0100 Subject: [PATCH] Disable system test that's broken due to a builder regression 0.4.292 of the builder launches an unpacked jar rather than the script in bin. This only affects an image that uses the archive generated by bootDistZip. An image that uses the archive generated by distZip is not affected. Closes gh-40803 --- .../springframework/boot/image/paketo/PaketoBuilderTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java index 51e0ad44707..14a3fef8a11 100644 --- a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java +++ b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java @@ -32,6 +32,7 @@ import org.assertj.core.api.Condition; import org.gradle.testkit.runner.BuildResult; import org.gradle.testkit.runner.TaskOutcome; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledForJreRange; import org.junit.jupiter.api.condition.JRE; @@ -149,6 +150,7 @@ class PaketoBuilderTests { } @Test + @Disabled("0.4.292 of the builder launches an unpacked jar rather than the script in bin") void bootDistZipJarApp() throws Exception { writeMainClass(); String projectName = this.gradleBuild.getProjectDir().getName();